public class DropTableDesc extends DDLDesc implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DropTableDesc.PartSpec |
Constructor and Description |
---|
DropTableDesc() |
DropTableDesc(String tableName,
Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs,
TableType expectedType,
boolean ifPurge,
ReplicationSpec replicationSpec) |
DropTableDesc(String tableName,
TableType expectedType,
boolean ifExists,
boolean ifPurge,
ReplicationSpec replicationSpec) |
Modifier and Type | Method and Description |
---|---|
boolean |
getExpectMaterializedView() |
boolean |
getExpectView() |
boolean |
getIfExists() |
boolean |
getIfPurge() |
ArrayList<DropTableDesc.PartSpec> |
getPartSpecs() |
ReplicationSpec |
getReplicationSpec() |
String |
getTableName() |
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, Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs, TableType expectedType, boolean ifPurge, ReplicationSpec replicationSpec)
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()
Copyright © 2021 The Apache Software Foundation. All rights reserved.