public class AlterTableDropPartitionDesc extends Object implements DDLDesc.DDLDescWithWriteId, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
AlterTableDropPartitionDesc.PartitionDesc
Partition description.
|
DDLDesc.DDLDescWithWriteId| Constructor and Description |
|---|
AlterTableDropPartitionDesc(TableName tableName,
Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs,
boolean ifPurge,
ReplicationSpec replicationSpec) |
AlterTableDropPartitionDesc(TableName tableName,
Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs,
boolean ifPurge,
ReplicationSpec replicationSpec,
boolean deleteData,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDeleteData() |
String |
getFullTableName() |
boolean |
getIfPurge() |
ArrayList<AlterTableDropPartitionDesc.PartitionDesc> |
getPartSpecs() |
ReplicationSpec |
getReplicationSpec() |
String |
getTableName() |
long |
getWriteId() |
boolean |
mayNeedWriteId() |
void |
setWriteId(long writeId) |
public AlterTableDropPartitionDesc(TableName tableName, Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs, boolean ifPurge, ReplicationSpec replicationSpec)
public AlterTableDropPartitionDesc(TableName tableName, Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs, boolean ifPurge, ReplicationSpec replicationSpec, boolean deleteData, Table table)
public String getTableName()
public ArrayList<AlterTableDropPartitionDesc.PartitionDesc> getPartSpecs()
public boolean getIfPurge()
public ReplicationSpec getReplicationSpec()
public void setWriteId(long writeId)
setWriteId in interface DDLDesc.DDLDescWithWriteIdpublic boolean mayNeedWriteId()
mayNeedWriteId in interface DDLDesc.DDLDescWithWriteIdpublic long getWriteId()
public boolean getDeleteData()
public String getFullTableName()
getFullTableName in interface DDLDesc.DDLDescWithWriteIdCopyright © 2022 The Apache Software Foundation. All rights reserved.