Class SqlProcedureCallConverter
java.lang.Object
org.apache.flink.table.planner.operations.converters.SqlProcedureCallConverter
- All Implemented Interfaces:
SqlNodeConverter<org.apache.calcite.sql.SqlNode>
public class SqlProcedureCallConverter
extends Object
implements SqlNodeConverter<org.apache.calcite.sql.SqlNode>
A converter for call procedure node. The call procedure statement will be parsed to a SqlCall
wrapping SqlProcedureCallOperator as the operator by calcite. So, this converter will try to
recognize it's call procedure or not. If it's call procedure, convert it the corresponding
operation. Otherwise, return null directly.
-
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 sqlNode, SqlNodeConverter.ConvertContext context) Convert the given validatedSqlNodeinto anOperation.
-
Constructor Details
-
SqlProcedureCallConverter
public SqlProcedureCallConverter()
-
-
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 sqlNode, SqlNodeConverter.ConvertContext context) Description copied from interface:SqlNodeConverterConvert the given validatedSqlNodeinto anOperation.- Specified by:
convertSqlNodein interfaceSqlNodeConverter<org.apache.calcite.sql.SqlNode>- Parameters:
sqlNode- a validatedSqlNode.context- the utilities and context information to convert
-