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.
TODO: this is currently used for both drop table and drop partitions.
- See Also:
- Serialized Form
DropTableDesc
public DropTableDesc()
DropTableDesc
public DropTableDesc(String tableName,
boolean expectView,
boolean ifExists)
- Parameters:
tableName
-
DropTableDesc
public DropTableDesc(String tableName,
Map<Integer,List<ExprNodeGenericFuncDesc>> partSpecs,
boolean expectView,
boolean ignoreProtection)
getTableName
public String getTableName()
- Returns:
- the tableName
setTableName
public void setTableName(String tableName)
- Parameters:
tableName
- the tableName to set
getPartSpecs
public ArrayList<DropTableDesc.PartSpec> getPartSpecs()
- Returns:
- the partSpecs
getIgnoreProtection
public boolean getIgnoreProtection()
- Returns:
- whether or not protection will be ignored for the partition
setIgnoreProtection
public void setIgnoreProtection(boolean ignoreProtection)
- Parameters:
ignoreProtection
- set whether or not protection will be ignored for the partition
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
Copyright © 2014 The Apache Software Foundation. All rights reserved.