public class DropTableDesc extends DDLDesc implements java.io.Serializable
Constructor and Description |
---|
DropTableDesc() |
DropTableDesc(java.lang.String tableName,
boolean expectView,
boolean ifExists,
boolean stringPartitionColumns) |
DropTableDesc(java.lang.String tableName,
java.util.List<PartitionSpec> partSpecs,
boolean expectView,
boolean stringPartitionColumns,
boolean ignoreProtection) |
Modifier and Type | Method and Description |
---|---|
boolean |
getExpectView() |
boolean |
getIfExists() |
boolean |
getIgnoreProtection() |
java.util.ArrayList<PartitionSpec> |
getPartSpecs() |
java.lang.String |
getTableName() |
boolean |
isStringPartitionColumns() |
void |
setExpectView(boolean expectView) |
void |
setIfExists(boolean ifExists) |
void |
setIgnoreProtection(boolean ignoreProtection) |
void |
setPartSpecs(java.util.ArrayList<PartitionSpec> partSpecs) |
void |
setStringPartitionColumns(boolean stringPartitionColumns) |
void |
setTableName(java.lang.String tableName) |
public DropTableDesc()
public DropTableDesc(java.lang.String tableName, boolean expectView, boolean ifExists, boolean stringPartitionColumns)
tableName
- public DropTableDesc(java.lang.String tableName, java.util.List<PartitionSpec> partSpecs, boolean expectView, boolean stringPartitionColumns, boolean ignoreProtection)
public java.lang.String getTableName()
public void setTableName(java.lang.String tableName)
tableName
- the tableName to setpublic java.util.ArrayList<PartitionSpec> getPartSpecs()
public void setPartSpecs(java.util.ArrayList<PartitionSpec> partSpecs)
partSpecs
- the partSpecs to setpublic 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 isStringPartitionColumns()
public void setStringPartitionColumns(boolean stringPartitionColumns)
Copyright © 2012 The Apache Software Foundation