Class SqlNodeConvertContext

java.lang.Object
org.apache.flink.table.planner.operations.SqlNodeConvertContext
All Implemented Interfaces:
SqlNodeConverter.ConvertContext

public class SqlNodeConvertContext extends Object implements SqlNodeConverter.ConvertContext
An implementation of SqlNodeConverter.ConvertContext.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SqlNodeConvertContext(FlinkPlannerImpl flinkPlanner, org.apache.flink.table.catalog.CatalogManager catalogManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Expands identifiers in a given SQL string.
    org.apache.flink.table.catalog.CatalogManager
    Returns the CatalogManager in the convert context.
    FlinkPlannerImpl
    Returns the FlinkPlannerImpl in the convert context.
    org.apache.calcite.sql.validate.SqlValidator
    Returns the SqlValidator in the convert context.
    org.apache.flink.table.api.TableConfig
    Returns the TableConfig defined in TableEnvironment.
    List<org.apache.calcite.rex.RexNode>
    reduceRexNodes(List<org.apache.calcite.rex.RexNode> rexNodes)
    Reduce the given RexNodes.
    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, org.apache.flink.table.types.DataType outputType)
    Converts the given validated SqlNode into a RexNode.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait