Package com.exasol.adapter.sql
Enum SqlNodeType
- java.lang.Object
-
- java.lang.Enum<SqlNodeType>
-
- com.exasol.adapter.sql.SqlNodeType
-
- All Implemented Interfaces:
Serializable
,Comparable<SqlNodeType>
public enum SqlNodeType extends Enum<SqlNodeType>
All types of nodes that can be part of a pushdown request. Each type represents a different class inheriting from SqlNode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLUMN
Column sql node type.FUNCTION_AGGREGATE
Function aggregate sql node type.FUNCTION_AGGREGATE_GROUP_CONCAT
Function aggregate group concat sql node type.FUNCTION_AGGREGATE_LISTAGG
Function aggregate listagg sql node type.FUNCTION_SCALAR
Function scalar sql node type.FUNCTION_SCALAR_CASE
Function scalar case sql node type.FUNCTION_SCALAR_CAST
Function scalar cast sql node type.FUNCTION_SCALAR_EXTRACT
Function scalar extract sql node type.FUNCTION_SCALAR_JSON_VALUE
Function scalar json value sql node type.GROUP_BY
Group by sql node type.JOIN
Join sql node type.LIMIT
Limit sql node type.LITERAL_BOOL
Literal bool sql node type.LITERAL_DATE
Literal date sql node type.LITERAL_DOUBLE
Literal double sql node type.LITERAL_EXACTNUMERIC
Literal exactnumeric sql node type.LITERAL_INTERVAL
Literal interval sql node type.LITERAL_NULL
Literal null sql node type.LITERAL_STRING
Literal string sql node type.LITERAL_TIMESTAMP
Literal timestamp sql node type.LITERAL_TIMESTAMPUTC
Literal timestamputc sql node type.ORDER_BY
Order by sql node type.PREDICATE_AND
Predicate and sql node type.PREDICATE_BETWEEN
Predicate between sql node type.PREDICATE_EQUAL
Predicate equal sql node type.PREDICATE_IN_CONSTLIST
Predicate in constlist sql node type.PREDICATE_IS_JSON
Predicate is json sql node type.PREDICATE_IS_NOT_JSON
Predicate is not json sql node type.PREDICATE_IS_NOT_NULL
Predicate is not null sql node type.PREDICATE_IS_NULL
Predicate is null sql node type.PREDICATE_LESS
Predicate less sql node type.PREDICATE_LESSEQUAL
Predicate lessequal sql node type.PREDICATE_LIKE
Predicate like sql node type.PREDICATE_LIKE_REGEXP
Predicate like regexp sql node type.PREDICATE_NOT
Predicate not sql node type.PREDICATE_NOTEQUAL
Predicate notequal sql node type.PREDICATE_OR
Predicate or sql node type.SELECT
Select sql node type.SELECT_LIST
Select list sql node type.TABLE
Table sql node type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SqlNodeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SqlNodeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELECT
public static final SqlNodeType SELECT
Select sql node type.
-
TABLE
public static final SqlNodeType TABLE
Table sql node type.
-
JOIN
public static final SqlNodeType JOIN
Join sql node type.
-
SELECT_LIST
public static final SqlNodeType SELECT_LIST
Select list sql node type.
-
GROUP_BY
public static final SqlNodeType GROUP_BY
Group by sql node type.
-
COLUMN
public static final SqlNodeType COLUMN
Column sql node type.
-
LITERAL_NULL
public static final SqlNodeType LITERAL_NULL
Literal null sql node type.
-
LITERAL_BOOL
public static final SqlNodeType LITERAL_BOOL
Literal bool sql node type.
-
LITERAL_DATE
public static final SqlNodeType LITERAL_DATE
Literal date sql node type.
-
LITERAL_TIMESTAMP
public static final SqlNodeType LITERAL_TIMESTAMP
Literal timestamp sql node type.
-
LITERAL_TIMESTAMPUTC
public static final SqlNodeType LITERAL_TIMESTAMPUTC
Literal timestamputc sql node type.
-
LITERAL_DOUBLE
public static final SqlNodeType LITERAL_DOUBLE
Literal double sql node type.
-
LITERAL_EXACTNUMERIC
public static final SqlNodeType LITERAL_EXACTNUMERIC
Literal exactnumeric sql node type.
-
LITERAL_STRING
public static final SqlNodeType LITERAL_STRING
Literal string sql node type.
-
LITERAL_INTERVAL
public static final SqlNodeType LITERAL_INTERVAL
Literal interval sql node type.
-
PREDICATE_AND
public static final SqlNodeType PREDICATE_AND
Predicate and sql node type.
-
PREDICATE_OR
public static final SqlNodeType PREDICATE_OR
Predicate or sql node type.
-
PREDICATE_NOT
public static final SqlNodeType PREDICATE_NOT
Predicate not sql node type.
-
PREDICATE_EQUAL
public static final SqlNodeType PREDICATE_EQUAL
Predicate equal sql node type.
-
PREDICATE_NOTEQUAL
public static final SqlNodeType PREDICATE_NOTEQUAL
Predicate notequal sql node type.
-
PREDICATE_LESS
public static final SqlNodeType PREDICATE_LESS
Predicate less sql node type.
-
PREDICATE_LESSEQUAL
public static final SqlNodeType PREDICATE_LESSEQUAL
Predicate lessequal sql node type.
-
PREDICATE_LIKE
public static final SqlNodeType PREDICATE_LIKE
Predicate like sql node type.
-
PREDICATE_LIKE_REGEXP
public static final SqlNodeType PREDICATE_LIKE_REGEXP
Predicate like regexp sql node type.
-
PREDICATE_BETWEEN
public static final SqlNodeType PREDICATE_BETWEEN
Predicate between sql node type.
-
PREDICATE_IN_CONSTLIST
public static final SqlNodeType PREDICATE_IN_CONSTLIST
Predicate in constlist sql node type.
-
PREDICATE_IS_NULL
public static final SqlNodeType PREDICATE_IS_NULL
Predicate is null sql node type.
-
PREDICATE_IS_NOT_NULL
public static final SqlNodeType PREDICATE_IS_NOT_NULL
Predicate is not null sql node type.
-
PREDICATE_IS_JSON
public static final SqlNodeType PREDICATE_IS_JSON
Predicate is json sql node type.
-
PREDICATE_IS_NOT_JSON
public static final SqlNodeType PREDICATE_IS_NOT_JSON
Predicate is not json sql node type.
-
FUNCTION_SCALAR
public static final SqlNodeType FUNCTION_SCALAR
Function scalar sql node type.
-
FUNCTION_SCALAR_CASE
public static final SqlNodeType FUNCTION_SCALAR_CASE
Function scalar case sql node type.
-
FUNCTION_SCALAR_CAST
public static final SqlNodeType FUNCTION_SCALAR_CAST
Function scalar cast sql node type.
-
FUNCTION_SCALAR_EXTRACT
public static final SqlNodeType FUNCTION_SCALAR_EXTRACT
Function scalar extract sql node type.
-
FUNCTION_SCALAR_JSON_VALUE
public static final SqlNodeType FUNCTION_SCALAR_JSON_VALUE
Function scalar json value sql node type.
-
FUNCTION_AGGREGATE
public static final SqlNodeType FUNCTION_AGGREGATE
Function aggregate sql node type.
-
FUNCTION_AGGREGATE_GROUP_CONCAT
public static final SqlNodeType FUNCTION_AGGREGATE_GROUP_CONCAT
Function aggregate group concat sql node type.
-
FUNCTION_AGGREGATE_LISTAGG
public static final SqlNodeType FUNCTION_AGGREGATE_LISTAGG
Function aggregate listagg sql node type.
-
ORDER_BY
public static final SqlNodeType ORDER_BY
Order by sql node type.
-
LIMIT
public static final SqlNodeType LIMIT
Limit sql node type.
-
-
Method Detail
-
values
public static SqlNodeType[] 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 (SqlNodeType c : SqlNodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SqlNodeType 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
-
-