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