Class ShowColumnsOperation
- java.lang.Object
-
- org.apache.flink.table.operations.ShowColumnsOperation
-
- All Implemented Interfaces:
ExecutableOperation,Operation,ShowOperation
@Internal public class ShowColumnsOperation extends Object implements ShowOperation
Show columns from [[catalog.]database.]table.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.table.operations.ExecutableOperation
ExecutableOperation.Context
-
-
Constructor Summary
Constructors Constructor Description ShowColumnsOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, 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.StringgetLikePattern()StringgetPreposition()org.apache.flink.table.catalog.ObjectIdentifiergetTableIdentifier()booleanisNotLike()booleanisUseLike()
-
-
-
Method Detail
-
getLikePattern
public String getLikePattern()
-
getPreposition
public String getPreposition()
-
isUseLike
public boolean isUseLike()
-
isNotLike
public boolean isNotLike()
-
getTableIdentifier
public org.apache.flink.table.catalog.ObjectIdentifier getTableIdentifier()
-
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)
-
-