Package org.apache.calcite.sql
Enum SqlFunctionCategory.Property
- java.lang.Object
-
- java.lang.Enum<SqlFunctionCategory.Property>
-
- org.apache.calcite.sql.SqlFunctionCategory.Property
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SqlFunctionCategory.Property>
- Enclosing class:
- SqlFunctionCategory
static enum SqlFunctionCategory.Property extends java.lang.Enum<SqlFunctionCategory.Property>
Property of a SqlFunctionCategory.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FUNCTION
SPECIFIC
TABLE_FUNCTION
USER_DEFINED
-
Constructor Summary
Constructors Modifier Constructor Description private
Property()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlFunctionCategory.Property
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SqlFunctionCategory.Property[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_DEFINED
public static final SqlFunctionCategory.Property USER_DEFINED
-
TABLE_FUNCTION
public static final SqlFunctionCategory.Property TABLE_FUNCTION
-
SPECIFIC
public static final SqlFunctionCategory.Property SPECIFIC
-
FUNCTION
public static final SqlFunctionCategory.Property FUNCTION
-
-
Method Detail
-
values
public static SqlFunctionCategory.Property[] 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 (SqlFunctionCategory.Property c : SqlFunctionCategory.Property.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlFunctionCategory.Property 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
-
-