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

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

public class TruncateTableDesc
extends DDLDesc

Truncates managed table or partition

See Also:
Serialized Form

Constructor Summary
TruncateTableDesc()
           
TruncateTableDesc(String tableName, Map<String,String> partSpec)
           
 
Method Summary
 Map<String,String> getPartSpec()
           
 String getTableName()
           
 void setPartSpec(Map<String,String> partSpec)
           
 void setTableName(String tableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TruncateTableDesc

public TruncateTableDesc()

TruncateTableDesc

public TruncateTableDesc(String tableName,
                         Map<String,String> partSpec)
Method Detail

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

getPartSpec

public Map<String,String> getPartSpec()

setPartSpec

public void setPartSpec(Map<String,String> partSpec)


Copyright © 2012 The Apache Software Foundation