public class ShowPartitionsOperation extends Object implements ShowOperation
ExecutableOperation.Context
Modifier and Type | Field and Description |
---|---|
protected org.apache.flink.table.catalog.ObjectIdentifier |
tableIdentifier |
Constructor and Description |
---|
ShowPartitionsOperation(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) |
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.
|
org.apache.flink.table.catalog.CatalogPartitionSpec |
getPartitionSpec() |
org.apache.flink.table.catalog.ObjectIdentifier |
getTableIdentifier() |
protected final org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier
public ShowPartitionsOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier, @Nullable org.apache.flink.table.catalog.CatalogPartitionSpec partitionSpec)
public org.apache.flink.table.catalog.ObjectIdentifier getTableIdentifier()
public org.apache.flink.table.catalog.CatalogPartitionSpec getPartitionSpec()
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–2023 The Apache Software Foundation. All rights reserved.