Package adql.query.operand.function
Enum SQLFunctionType
- java.lang.Object
-
- java.lang.Enum<SQLFunctionType>
-
- adql.query.operand.function.SQLFunctionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SQLFunctionType>
public enum SQLFunctionType extends java.lang.Enum<SQLFunctionType>
All the types of SQL functions (COUNT, SUM, AVG, etc...).- Version:
- 11/2010
- Author:
- Grégory Mantelet (CDS)
- See Also:
SQLFunction
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLFunctionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SQLFunctionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COUNT_ALL
public static final SQLFunctionType COUNT_ALL
-
COUNT
public static final SQLFunctionType COUNT
-
AVG
public static final SQLFunctionType AVG
-
MAX
public static final SQLFunctionType MAX
-
MIN
public static final SQLFunctionType MIN
-
SUM
public static final SQLFunctionType SUM
-
-
Method Detail
-
values
public static SQLFunctionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SQLFunctionType c : SQLFunctionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLFunctionType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-