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 SqlNodegetCondition(SqlJoin join) static SqlNodegetMatchCondition(SqlAsofJoin join) static SqlValidatorNamespacegetNamespace(SqlCallBinding callBinding) static <T> TgetOperandLiteralValueOrThrow(SqlOperatorBinding opBinding, int ordinal, Class<T> clazz) static SqlValidatorScopegetScope(SqlCallBinding callBinding) static SqlNodeListgetSelectList(SqlSelect innerSelect) static SqlSelectgetSourceSelect(SqlDelete statement) static SqlSelectgetSourceSelect(SqlMerge statement) static SqlSelectgetSourceSelect(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)
-