@Internal public class AddPartitionsOperation extends AlterTableOperation
ExecutableOperation.ContextignoreIfTableNotExists, tableIdentifier| Constructor and Description |
|---|
AddPartitionsOperation(org.apache.flink.table.catalog.ObjectIdentifier tableIdentifier,
boolean ignoreIfPartitionExists,
List<org.apache.flink.table.catalog.CatalogPartitionSpec> partitionSpecs,
List<org.apache.flink.table.catalog.CatalogPartition> catalogPartitions) |
| 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<org.apache.flink.table.catalog.CatalogPartition> |
getCatalogPartitions() |
List<org.apache.flink.table.catalog.CatalogPartitionSpec> |
getPartitionSpecs() |
boolean |
ignoreIfPartitionExists() |
getTableIdentifier, ignoreIfTableNotExistspublic List<org.apache.flink.table.catalog.CatalogPartitionSpec> getPartitionSpecs()
public List<org.apache.flink.table.catalog.CatalogPartition> getCatalogPartitions()
public boolean ignoreIfPartitionExists()
public String asSummaryString()
Operationpublic TableResultInternal execute(ExecutableOperation.Context ctx)
ExecutableOperationctx - the context to execute the operation.TableEnvironmentInternal.executeInternal(Operation)Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.