Class ShowTablesOperation
- java.lang.Object
-
- org.apache.flink.table.operations.ShowTablesOperation
-
- All Implemented Interfaces:
ExecutableOperation,Operation,ShowOperation
@Internal public class ShowTablesOperation extends Object implements ShowOperation
Operation to describe a SHOW TABLES statement.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.operations.ExecutableOperation
ExecutableOperation.Context
-
-
Constructor Summary
Constructors Constructor Description ShowTablesOperation()ShowTablesOperation(String likePattern, boolean useLike, boolean notLike)ShowTablesOperation(String catalogName, String databaseName, String likePattern, boolean useLike, boolean notLike, String preposition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasSummaryString()Returns a string that summarizes this operation for printing to a console.TableResultInternalexecute(ExecutableOperation.Context ctx)Executes the given operation and return the execution result.StringgetCatalogName()StringgetDatabaseName()StringgetLikePattern()StringgetPreposition()booleanisNotLike()booleanisUseLike()
-
-
-
Constructor Detail
-
ShowTablesOperation
public ShowTablesOperation()
-
ShowTablesOperation
public ShowTablesOperation(String likePattern, boolean useLike, boolean notLike)
-
-
Method Detail
-
getLikePattern
public String getLikePattern()
-
getPreposition
public String getPreposition()
-
isUseLike
public boolean isUseLike()
-
isNotLike
public boolean isNotLike()
-
getCatalogName
public String getCatalogName()
-
getDatabaseName
public String getDatabaseName()
-
asSummaryString
public String asSummaryString()
Description copied from interface:OperationReturns a string that summarizes this operation for printing to a console. An implementation might skip very specific properties.- Specified by:
asSummaryStringin interfaceOperation- Returns:
- summary string of this operation for debugging purposes
-
execute
public TableResultInternal execute(ExecutableOperation.Context ctx)
Description copied from interface:ExecutableOperationExecutes the given operation and return the execution result.- Specified by:
executein interfaceExecutableOperation- Parameters:
ctx- the context to execute the operation.- Returns:
- the content of the execution result.
- See Also:
TableEnvironmentInternal.executeInternal(Operation)
-
-