Class SqlQueryConverter
java.lang.Object
org.apache.flink.table.planner.operations.converters.SqlQueryConverter
- All Implemented Interfaces:
SqlNodeConverter<org.apache.calcite.sql.SqlNode>
public class SqlQueryConverter
extends Object
implements SqlNodeConverter<org.apache.calcite.sql.SqlNode>
A converter for query
SqlNode, e.g., SqlSelect, SqlOrderBy, SqlTableRef.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.table.planner.operations.converters.SqlNodeConverter
SqlNodeConverter.ConvertContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.table.operations.OperationconvertSqlNode(org.apache.calcite.sql.SqlNode node, SqlNodeConverter.ConvertContext context) Convert the given validatedSqlNodeinto anOperation.
-
Constructor Details
-
SqlQueryConverter
public SqlQueryConverter()
-
-
Method Details
-
supportedSqlKinds
Description copied from interface:SqlNodeConverterReturns theSqlKindsofSqlNodesthat theSqlNodeConvertersupports to convert.If a
SqlNodeConverterreturns a non-empty SqlKinds, The conversion framework will find the corresponding converter by matching the SqlKind of SqlNode instead of the class of SqlNode- Specified by:
supportedSqlKindsin interfaceSqlNodeConverter<org.apache.calcite.sql.SqlNode>- See Also:
-
convertSqlNode
public org.apache.flink.table.operations.Operation convertSqlNode(org.apache.calcite.sql.SqlNode node, SqlNodeConverter.ConvertContext context) Description copied from interface:SqlNodeConverterConvert the given validatedSqlNodeinto anOperation.- Specified by:
convertSqlNodein interfaceSqlNodeConverter<org.apache.calcite.sql.SqlNode>- Parameters:
node- a validatedSqlNode.context- the utilities and context information to convert
-