Package org.apache.calcite.sql.validate
Class SqlNonNullableAccessors
java.lang.Object
org.apache.calcite.sql.validate.SqlNonNullableAccessors
This class provides non-nullable accessors for common getters.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SqlNode
getCondition
(SqlJoin join) static SqlNode
getMatchCondition
(SqlAsofJoin join) static SqlValidatorNamespace
getNamespace
(SqlCallBinding callBinding) static <T> T
getOperandLiteralValueOrThrow
(SqlOperatorBinding opBinding, int ordinal, Class<T> clazz) static SqlValidatorScope
getScope
(SqlCallBinding callBinding) static SqlNodeList
getSelectList
(SqlSelect innerSelect) static SqlSelect
getSourceSelect
(SqlDelete statement) static SqlSelect
getSourceSelect
(SqlMerge statement) static SqlSelect
getSourceSelect
(SqlUpdate statement) static SqlValidatorTable
-
Method Details
-
getSourceSelect
-
getSourceSelect
-
getSourceSelect
-
getCondition
-
getMatchCondition
-
getSelectList
@API(since="1.27", status=EXPERIMENTAL) public static SqlNodeList getSelectList(SqlSelect innerSelect) -
getTable
@API(since="1.27", status=EXPERIMENTAL) public static SqlValidatorTable getTable(SqlValidatorNamespace ns) -
getScope
@API(since="1.27", status=EXPERIMENTAL) public static SqlValidatorScope getScope(SqlCallBinding callBinding) -
getNamespace
@API(since="1.27", status=EXPERIMENTAL) public static SqlValidatorNamespace getNamespace(SqlCallBinding callBinding) -
getOperandLiteralValueOrThrow
@API(since="1.27", status=EXPERIMENTAL) public static <T> T getOperandLiteralValueOrThrow(SqlOperatorBinding opBinding, int ordinal, Class<T> clazz)
-