public class AddPartitionsOperation extends AlterTableOperation
ignoreIfTableNotExists, tableIdentifier
Constructor and Description |
---|
AddPartitionsOperation(ObjectIdentifier tableIdentifier,
boolean ignoreIfPartitionExists,
List<CatalogPartitionSpec> partitionSpecs,
List<CatalogPartition> catalogPartitions) |
Modifier and Type | Method and Description |
---|---|
String |
asSummaryString()
Returns a string that summarizes this operation for printing to a console.
|
List<CatalogPartition> |
getCatalogPartitions() |
List<CatalogPartitionSpec> |
getPartitionSpecs() |
boolean |
ignoreIfPartitionExists() |
getTableIdentifier, ignoreIfTableNotExists
public AddPartitionsOperation(ObjectIdentifier tableIdentifier, boolean ignoreIfPartitionExists, List<CatalogPartitionSpec> partitionSpecs, List<CatalogPartition> catalogPartitions)
public List<CatalogPartitionSpec> getPartitionSpecs()
public List<CatalogPartition> getCatalogPartitions()
public boolean ignoreIfPartitionExists()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.