Class AbstractShowOperation
java.lang.Object
org.apache.flink.table.operations.AbstractShowOperation
- All Implemented Interfaces:
ExecutableOperation,Operation,ShowOperation
- Direct Known Subclasses:
ShowCatalogsOperation,ShowColumnsOperation,ShowDatabasesOperation,ShowFunctionsOperation,ShowProceduresOperation,ShowTablesOperation,ShowViewsOperation
Base class for SHOW operations. It provides support of functionality:
[ ( FROM | IN ) catalog_name] [ [NOT] (LIKE | ILIKE) <sql_like_pattern> ]
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.table.operations.ExecutableOperation
ExecutableOperation.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final ShowLikeOperatorprotected final String -
Constructor Summary
ConstructorsConstructorDescriptionAbstractShowOperation(String catalogName, String preposition, ShowLikeOperator likeOp) -
Method Summary
Modifier and TypeMethodDescriptionReturns a string that summarizes this operation for printing to a console.booleanExecutes the given operation and return the execution result.protected abstract Stringprotected abstract Stringprotected StringinthashCode()protected abstract Collection<String>toString()
-
Field Details
-
catalogName
-
preposition
-
likeOp
-
-
Constructor Details
-
AbstractShowOperation
public AbstractShowOperation(@Nullable String catalogName, @Nullable String preposition, @Nullable ShowLikeOperator likeOp)
-
-
Method Details
-
retrieveDataForTableResult
-
getOperationName
-
getColumnName
-
execute
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:
-
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
-
getPrepositionSummaryString
-
equals
-
hashCode
public int hashCode() -
toString
-