Enum GridSqlFunctionType
- java.lang.Object
-
- java.lang.Enum<GridSqlFunctionType>
-
- org.apache.ignite.internal.processors.query.h2.sql.GridSqlFunctionType
-
- All Implemented Interfaces:
Serializable,Comparable<GridSqlFunctionType>
public enum GridSqlFunctionType extends Enum<GridSqlFunctionType>
Full list of available functions see atFunction
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVGCASECASTCONVERTCOUNTCOUNT_ALLEXTRACTGROUP_CONCATMAXMINSUMSYSTEM_RANGETABLETABLE and TABLE_DISTINCTUNKNOWN_FUNCTIONConstant for all other functions.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfunctionName()static GridSqlFunctionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GridSqlFunctionType[]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 GridSqlFunctionType COUNT_ALL
-
COUNT
public static final GridSqlFunctionType COUNT
-
SUM
public static final GridSqlFunctionType SUM
-
MIN
public static final GridSqlFunctionType MIN
-
MAX
public static final GridSqlFunctionType MAX
-
AVG
public static final GridSqlFunctionType AVG
-
GROUP_CONCAT
public static final GridSqlFunctionType GROUP_CONCAT
-
CASE
public static final GridSqlFunctionType CASE
-
CAST
public static final GridSqlFunctionType CAST
-
CONVERT
public static final GridSqlFunctionType CONVERT
-
EXTRACT
public static final GridSqlFunctionType EXTRACT
-
SYSTEM_RANGE
public static final GridSqlFunctionType SYSTEM_RANGE
-
TABLE
public static final GridSqlFunctionType TABLE
TABLE and TABLE_DISTINCT
-
UNKNOWN_FUNCTION
public static final GridSqlFunctionType UNKNOWN_FUNCTION
Constant for all other functions.
-
-
Method Detail
-
values
public static GridSqlFunctionType[] 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 (GridSqlFunctionType c : GridSqlFunctionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GridSqlFunctionType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
functionName
public String functionName()
- Returns:
- Function name.
-
-