public static interface SqlNodeConverter.ConvertContext
SqlNodeConverter
.Modifier and Type | Method and Description |
---|---|
String |
expandSqlIdentifiers(String sql)
Expands identifiers in a given SQL string.
|
CatalogManager |
getCatalogManager()
Returns the
CatalogManager in the convert context. |
org.apache.calcite.sql.validate.SqlValidator |
getSqlValidator()
Returns the
SqlValidator in the convert context. |
TableConfig |
getTableConfig()
Returns the
TableConfig defined in TableEnvironment . |
List<org.apache.calcite.rex.RexNode> |
reduceRexNodes(List<org.apache.calcite.rex.RexNode> rexNodes)
Reduce the given
RexNode s. |
String |
toQuotedSqlString(org.apache.calcite.sql.SqlNode sqlNode)
Convert the given into a quoted SQL string.
|
org.apache.calcite.rel.RelRoot |
toRelRoot(org.apache.calcite.sql.SqlNode sqlNode)
Converts the given validated
SqlNode into a RelRoot . |
org.apache.calcite.rex.RexNode |
toRexNode(org.apache.calcite.sql.SqlNode sqlNode,
org.apache.calcite.rel.type.RelDataType inputRowType,
DataType outputType)
Converts the given validated
SqlNode into a RexNode . |
TableConfig getTableConfig()
TableConfig
defined in TableEnvironment
.org.apache.calcite.sql.validate.SqlValidator getSqlValidator()
SqlValidator
in the convert context.CatalogManager getCatalogManager()
CatalogManager
in the convert context.org.apache.calcite.rel.RelRoot toRelRoot(org.apache.calcite.sql.SqlNode sqlNode)
SqlNode
into a RelRoot
.org.apache.calcite.rex.RexNode toRexNode(org.apache.calcite.sql.SqlNode sqlNode, org.apache.calcite.rel.type.RelDataType inputRowType, @Nullable DataType outputType)
SqlNode
into a RexNode
.List<org.apache.calcite.rex.RexNode> reduceRexNodes(List<org.apache.calcite.rex.RexNode> rexNodes)
RexNode
s.String toQuotedSqlString(org.apache.calcite.sql.SqlNode sqlNode)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.