@Internal public class ShowColumnsOperation extends Object implements ShowOperation
ExecutableOperation.Context
Constructor and Description |
---|
ShowColumnsOperation(ObjectIdentifier tableIdentifier,
String likePattern,
boolean useLike,
boolean notLike,
String preposition) |
Modifier and Type | Method and Description |
---|---|
String |
asSummaryString()
Returns a string that summarizes this operation for printing to a console.
|
TableResultInternal |
execute(ExecutableOperation.Context ctx)
Executes the given operation and return the execution result.
|
String |
getLikePattern() |
String |
getPreposition() |
ObjectIdentifier |
getTableIdentifier() |
boolean |
isNotLike() |
boolean |
isUseLike() |
public ShowColumnsOperation(ObjectIdentifier tableIdentifier, @Nullable String likePattern, boolean useLike, boolean notLike, String preposition)
public String getLikePattern()
public String getPreposition()
public boolean isUseLike()
public boolean isNotLike()
public ObjectIdentifier getTableIdentifier()
public String asSummaryString()
Operation
asSummaryString
in interface Operation
public TableResultInternal execute(ExecutableOperation.Context ctx)
ExecutableOperation
execute
in interface ExecutableOperation
ctx
- the context to execute the operation.TableEnvironmentInternal.executeInternal(Operation)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.