Class AbstractSqlShowConverter<T extends org.apache.flink.sql.parser.dql.SqlShowCall>
java.lang.Object
org.apache.flink.table.planner.operations.converters.AbstractSqlShowConverter<T>
- All Implemented Interfaces:
SqlNodeConverter<T>
- Direct Known Subclasses:
SqlShowFunctionsConverter,SqlShowProcedureConverter,SqlShowTablesConverter,SqlShowViewsConverter
public abstract class AbstractSqlShowConverter<T extends org.apache.flink.sql.parser.dql.SqlShowCall>
extends Object
implements SqlNodeConverter<T>
An abstract class for SHOW converters.
-
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 TypeMethodDescriptionprotected org.apache.flink.table.operations.OperationconvertShowOperation(T sqlShowCall, SqlNodeConverter.ConvertContext context) abstract org.apache.flink.table.operations.OperationconvertSqlNode(T node, SqlNodeConverter.ConvertContext context) Convert the given validatedSqlNodeinto anOperation.org.apache.flink.table.operations.utils.ShowLikeOperatorgetLikeOp(org.apache.flink.sql.parser.dql.SqlShowCall sqlShowCall) abstract org.apache.flink.table.operations.OperationgetOperation(T sqlShowCall, String catalogName, String databaseName, String prep, org.apache.flink.table.operations.utils.ShowLikeOperator likeOp) abstract org.apache.flink.table.operations.OperationgetOperationWithoutPrep(T sqlShowCall, String catalogName, String databaseName, org.apache.flink.table.operations.utils.ShowLikeOperator likeOp) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.planner.operations.converters.SqlNodeConverter
supportedSqlKinds
-
Constructor Details
-
AbstractSqlShowConverter
public AbstractSqlShowConverter()
-
-
Method Details
-
convertShowOperation
protected org.apache.flink.table.operations.Operation convertShowOperation(T sqlShowCall, SqlNodeConverter.ConvertContext context) -
getLikeOp
public org.apache.flink.table.operations.utils.ShowLikeOperator getLikeOp(org.apache.flink.sql.parser.dql.SqlShowCall sqlShowCall) -
getOperationWithoutPrep
-
getOperation
-
convertSqlNode
public abstract org.apache.flink.table.operations.Operation convertSqlNode(T node, SqlNodeConverter.ConvertContext context) Description copied from interface:SqlNodeConverterConvert the given validatedSqlNodeinto anOperation.- Specified by:
convertSqlNodein interfaceSqlNodeConverter<T extends org.apache.flink.sql.parser.dql.SqlShowCall>- Parameters:
node- a validatedSqlNode.context- the utilities and context information to convert
-