Class ShowTablesOperation
- java.lang.Object
-
- org.apache.flink.table.operations.AbstractShowOperation
-
- org.apache.flink.table.operations.ShowTablesOperation
-
- All Implemented Interfaces:
ExecutableOperation,Operation,ShowOperation
@Internal public class ShowTablesOperation extends AbstractShowOperation
Operation to describe a SHOW TABLES statement. The full syntax for SHOW TABLES is as followings:SHOW TABLES [ ( FROM | IN ) [catalog_name.]database_name ] [ [NOT] LIKE <sql_like_pattern> ] statement
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.operations.ExecutableOperation
ExecutableOperation.Context
-
-
Field Summary
-
Fields inherited from class org.apache.flink.table.operations.AbstractShowOperation
catalogName, likeOp, preposition
-
-
Constructor Summary
Constructors Constructor Description ShowTablesOperation(String catalogName, String databaseName)ShowTablesOperation(String catalogName, String databaseName, String preposition, ShowLikeOperator likeOp)ShowTablesOperation(String catalogName, String databaseName, ShowLikeOperator likeOp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetColumnName()protected StringgetOperationName()StringgetPrepositionSummaryString()protected Set<String>retrieveDataForTableResult(ExecutableOperation.Context ctx)-
Methods inherited from class org.apache.flink.table.operations.AbstractShowOperation
asSummaryString, equals, execute, hashCode, toString
-
-
-
-
Constructor Detail
-
ShowTablesOperation
public ShowTablesOperation(@Nullable String catalogName, @Nullable String databaseName, @Nullable String preposition, @Nullable ShowLikeOperator likeOp)
-
ShowTablesOperation
public ShowTablesOperation(@Nullable String catalogName, @Nullable String databaseName, @Nullable ShowLikeOperator likeOp)
-
-
Method Detail
-
retrieveDataForTableResult
protected Set<String> retrieveDataForTableResult(ExecutableOperation.Context ctx)
- Specified by:
retrieveDataForTableResultin classAbstractShowOperation
-
getOperationName
protected String getOperationName()
- Specified by:
getOperationNamein classAbstractShowOperation
-
getColumnName
protected String getColumnName()
- Specified by:
getColumnNamein classAbstractShowOperation
-
getPrepositionSummaryString
public String getPrepositionSummaryString()
- Overrides:
getPrepositionSummaryStringin classAbstractShowOperation
-
-