@Internal public class DropPartitionsOperation extends AlterTableOperation
ExecutableOperation.Context
ignoreIfTableNotExists, tableIdentifier
Constructor and Description |
---|
DropPartitionsOperation(ObjectIdentifier tableIdentifier,
boolean ignoreIfPartitionNotExists,
List<CatalogPartitionSpec> partitionSpecs) |
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.
|
List<CatalogPartitionSpec> |
getPartitionSpecs() |
boolean |
ignoreIfPartitionNotExists() |
getTableIdentifier, ignoreIfTableNotExists
public DropPartitionsOperation(ObjectIdentifier tableIdentifier, boolean ignoreIfPartitionNotExists, List<CatalogPartitionSpec> partitionSpecs)
public boolean ignoreIfPartitionNotExists()
public List<CatalogPartitionSpec> getPartitionSpecs()
public String asSummaryString()
Operation
public TableResultInternal execute(ExecutableOperation.Context ctx)
ExecutableOperation
ctx
- the context to execute the operation.TableEnvironmentInternal.executeInternal(Operation)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.