public class DropTableDesc extends DDLDesc implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DropTableDesc.PartSpec |
Constructor and Description |
---|
DropTableDesc() |
DropTableDesc(String tableName,
boolean expectView,
boolean ifExists,
boolean ifPurge,
ReplicationSpec replicationSpec) |
DropTableDesc(String tableName,
Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs,
boolean expectView,
boolean ignoreProtection,
boolean ifPurge,
ReplicationSpec replicationSpec) |
Modifier and Type | Method and Description |
---|---|
boolean |
getExpectView() |
boolean |
getIfExists() |
boolean |
getIfPurge() |
boolean |
getIgnoreProtection() |
ArrayList<DropTableDesc.PartSpec> |
getPartSpecs() |
ReplicationSpec |
getReplicationSpec() |
String |
getTableName() |
void |
setExpectView(boolean expectView) |
void |
setIfExists(boolean ifExists) |
void |
setIfPurge(boolean ifPurge) |
void |
setIgnoreProtection(boolean ignoreProtection) |
void |
setTableName(String tableName) |
public DropTableDesc()
public DropTableDesc(String tableName, boolean expectView, boolean ifExists, boolean ifPurge, ReplicationSpec replicationSpec)
tableName
- ifPurge
- public DropTableDesc(String tableName, Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs, boolean expectView, boolean ignoreProtection, boolean ifPurge, ReplicationSpec replicationSpec)
public String getTableName()
public void setTableName(String tableName)
tableName
- the tableName to setpublic ArrayList<DropTableDesc.PartSpec> getPartSpecs()
public boolean getIgnoreProtection()
public void setIgnoreProtection(boolean ignoreProtection)
ignoreProtection
- set whether or not protection will be ignored for the partitionpublic boolean getExpectView()
public void setExpectView(boolean expectView)
expectView
- set whether to expect a view being droppedpublic 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 © 2017 The Apache Software Foundation. All rights reserved.