Class ShowPartitionsOperation
java.lang.Object
org.apache.flink.table.operations.ShowPartitionsOperation
- All Implemented Interfaces:
ExecutableOperation,Operation,ShowOperation
Operation to describe a SHOW PARTITIONS statement.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.table.operations.ExecutableOperation
ExecutableOperation.Context -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.flink.table.catalog.ObjectIdentifier -
Constructor Summary
ConstructorsConstructorDescriptionShowPartitionsOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, org.apache.flink.table.catalog.CatalogPartitionSpec partitionSpec) ShowPartitionsOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, org.apache.flink.table.catalog.CatalogPartitionSpec partitionSpec, String defaultPartitionName) -
Method Summary
Modifier and TypeMethodDescriptionReturns a string that summarizes this operation for printing to a console.Executes the given operation and return the execution result.org.apache.flink.table.catalog.CatalogPartitionSpecorg.apache.flink.table.catalog.ObjectIdentifier
-
Field Details
-
tableIdentifier
protected final org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier
-
-
Constructor Details
-
ShowPartitionsOperation
public ShowPartitionsOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, @Nullable org.apache.flink.table.catalog.CatalogPartitionSpec partitionSpec) -
ShowPartitionsOperation
public ShowPartitionsOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, @Nullable org.apache.flink.table.catalog.CatalogPartitionSpec partitionSpec, @Nullable String defaultPartitionName)
-
-
Method Details
-
getTableIdentifier
public org.apache.flink.table.catalog.ObjectIdentifier getTableIdentifier() -
getPartitionSpec
public org.apache.flink.table.catalog.CatalogPartitionSpec getPartitionSpec() -
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
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:
-