public class SqlQueryConverter extends Object implements SqlNodeConverter<org.apache.calcite.sql.SqlNode>
SqlNode, e.g., SqlSelect, SqlOrderBy, SqlTableRef.SqlNodeConverter.ConvertContext| Constructor and Description |
|---|
SqlQueryConverter() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.table.operations.Operation |
convertSqlNode(org.apache.calcite.sql.SqlNode node,
SqlNodeConverter.ConvertContext context)
Convert the given validated
SqlNode into an Operation. |
Optional<EnumSet<org.apache.calcite.sql.SqlKind>> |
supportedSqlKinds()
|
public Optional<EnumSet<org.apache.calcite.sql.SqlKind>> supportedSqlKinds()
SqlNodeConverterSqlKinds of SqlNodes that the SqlNodeConverter supports to convert.
If a SqlNodeConverter returns a non-empty SqlKinds, The conversion framework will
find the corresponding converter by matching the SqlKind of SqlNode instead of the class of
SqlNode
supportedSqlKinds in interface SqlNodeConverter<org.apache.calcite.sql.SqlNode>SqlQueryConverterpublic org.apache.flink.table.operations.Operation convertSqlNode(org.apache.calcite.sql.SqlNode node,
SqlNodeConverter.ConvertContext context)
SqlNodeConverterSqlNode into an Operation.convertSqlNode in interface SqlNodeConverter<org.apache.calcite.sql.SqlNode>node - a validated SqlNode.context - the utilities and context information to convertCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.