public class AlterTableAddPartitionDesc extends Object implements DDLDesc.DDLDescWithWriteId, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
AlterTableAddPartitionDesc.PartitionDesc
Description of a partition to add.
|
DDLDesc.DDLDescWithWriteId| Constructor and Description |
|---|
AlterTableAddPartitionDesc(String dbName,
String tableName,
boolean ifNotExists,
List<AlterTableAddPartitionDesc.PartitionDesc> partitions) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDbName() |
String |
getFullTableName() |
List<AlterTableAddPartitionDesc.PartitionDesc> |
getPartitions() |
ReplicationSpec |
getReplicationSpec() |
String |
getTableName() |
boolean |
isIfNotExists() |
boolean |
mayNeedWriteId() |
void |
setReplicationSpec(ReplicationSpec replicationSpec) |
void |
setWriteId(long writeId) |
public AlterTableAddPartitionDesc(String dbName, String tableName, boolean ifNotExists, List<AlterTableAddPartitionDesc.PartitionDesc> partitions)
public String getDbName()
public String getTableName()
public boolean isIfNotExists()
public List<AlterTableAddPartitionDesc.PartitionDesc> getPartitions()
public void setReplicationSpec(ReplicationSpec replicationSpec)
replicationSpec - Sets the replication spec governing this create.
This parameter will have meaningful values only for creates happening as a result of a replication.public ReplicationSpec getReplicationSpec()
public void setWriteId(long writeId)
setWriteId in interface DDLDesc.DDLDescWithWriteIdpublic String getFullTableName()
getFullTableName in interface DDLDesc.DDLDescWithWriteIdpublic boolean mayNeedWriteId()
mayNeedWriteId in interface DDLDesc.DDLDescWithWriteIdCopyright © 2024 The Apache Software Foundation. All rights reserved.