public class DropTableDesc extends DDLDesc implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DropTableDesc.PartSpec |
DDLDesc.DDLDescWithWriteId
Constructor and Description |
---|
DropTableDesc() |
DropTableDesc(String tableName,
Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs,
TableType expectedType,
boolean ifPurge,
ReplicationSpec replicationSpec) |
DropTableDesc(String tableName,
Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs,
TableType expectedType,
boolean ifPurge,
ReplicationSpec replicationSpec,
boolean validationRequired) |
DropTableDesc(String tableName,
TableType expectedType,
boolean ifExists,
boolean ifPurge,
ReplicationSpec replicationSpec) |
DropTableDesc(String tableName,
TableType expectedType,
boolean ifExists,
boolean ifPurge,
ReplicationSpec replicationSpec,
boolean validationRequired) |
Modifier and Type | Method and Description |
---|---|
boolean |
getExpectMaterializedView() |
boolean |
getExpectView() |
boolean |
getIfExists() |
boolean |
getIfPurge() |
ArrayList<DropTableDesc.PartSpec> |
getPartSpecs() |
ReplicationSpec |
getReplicationSpec() |
String |
getTableName() |
boolean |
getValidationRequired() |
void |
setIfExists(boolean ifExists) |
void |
setIfPurge(boolean ifPurge) |
void |
setTableName(String tableName) |
public DropTableDesc()
public DropTableDesc(String tableName, TableType expectedType, boolean ifExists, boolean ifPurge, ReplicationSpec replicationSpec)
tableName
- ifPurge
- public DropTableDesc(String tableName, TableType expectedType, boolean ifExists, boolean ifPurge, ReplicationSpec replicationSpec, boolean validationRequired)
public DropTableDesc(String tableName, Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs, TableType expectedType, boolean ifPurge, ReplicationSpec replicationSpec)
public DropTableDesc(String tableName, Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs, TableType expectedType, boolean ifPurge, ReplicationSpec replicationSpec, boolean validationRequired)
public String getTableName()
public void setTableName(String tableName)
tableName
- the tableName to setpublic ArrayList<DropTableDesc.PartSpec> getPartSpecs()
public boolean getExpectView()
public boolean getExpectMaterializedView()
public boolean getIfExists()
public void setIfExists(boolean ifExists)
ifExists
- set whether IF EXISTS was specifiedpublic boolean getIfPurge()
public void setIfPurge(boolean ifPurge)
ifPurge
- set whether Purge was specifiedpublic ReplicationSpec getReplicationSpec()
public boolean getValidationRequired()
Copyright © 2019 The Apache Software Foundation. All rights reserved.