org.apache.hadoop.hive.ql.plan
Class DropTableDesc
java.lang.Object
org.apache.hadoop.hive.ql.plan.DDLDesc
org.apache.hadoop.hive.ql.plan.DropTableDesc
- All Implemented Interfaces:
- Serializable
public class DropTableDesc
- extends DDLDesc
- implements Serializable
DropTableDesc.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DropTableDesc
public DropTableDesc()
DropTableDesc
public DropTableDesc(String tableName,
boolean expectView,
boolean ifExists,
boolean stringPartitionColumns)
- Parameters:
tableName
-
DropTableDesc
public DropTableDesc(String tableName,
List<PartitionSpec> partSpecs,
boolean expectView,
boolean stringPartitionColumns)
getTableName
public String getTableName()
- Returns:
- the tableName
setTableName
public void setTableName(String tableName)
- Parameters:
tableName
- the tableName to set
getPartSpecs
public ArrayList<PartitionSpec> getPartSpecs()
- Returns:
- the partSpecs
setPartSpecs
public void setPartSpecs(ArrayList<PartitionSpec> partSpecs)
- Parameters:
partSpecs
- the partSpecs to set
getExpectView
public boolean getExpectView()
- Returns:
- whether to expect a view being dropped
setExpectView
public void setExpectView(boolean expectView)
- Parameters:
expectView
- set whether to expect a view being dropped
getIfExists
public boolean getIfExists()
- Returns:
- whether IF EXISTS was specified
setIfExists
public void setIfExists(boolean ifExists)
- Parameters:
ifExists
- set whether IF EXISTS was specified
isStringPartitionColumns
public boolean isStringPartitionColumns()
setStringPartitionColumns
public void setStringPartitionColumns(boolean stringPartitionColumns)
Copyright © 2013 The Apache Software Foundation