org.apache.hadoop.hive.ql.plan
Class DropTableDesc

java.lang.Object
  extended by org.apache.hadoop.hive.ql.plan.DDLDesc
      extended by org.apache.hadoop.hive.ql.plan.DropTableDesc
All Implemented Interfaces:
Serializable

public class DropTableDesc
extends DDLDesc
implements Serializable

DropTableDesc.

See Also:
Serialized Form

Constructor Summary
DropTableDesc()
           
DropTableDesc(String tableName, boolean expectView, boolean ifExists, boolean stringPartitionColumns)
           
DropTableDesc(String tableName, List<PartitionSpec> partSpecs, boolean expectView, boolean stringPartitionColumns)
           
 
Method Summary
 boolean getExpectView()
           
 boolean getIfExists()
           
 ArrayList<PartitionSpec> getPartSpecs()
           
 String getTableName()
           
 boolean isStringPartitionColumns()
           
 void setExpectView(boolean expectView)
           
 void setIfExists(boolean ifExists)
           
 void setPartSpecs(ArrayList<PartitionSpec> partSpecs)
           
 void setStringPartitionColumns(boolean stringPartitionColumns)
           
 void setTableName(String tableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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