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

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

public class LoadTableDesc
extends LoadDesc
implements Serializable

LoadTableDesc.

See Also:
Serialized Form

Constructor Summary
LoadTableDesc()
           
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath, TableDesc table, DynamicPartitionCtx dpCtx)
           
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath, TableDesc table, Map<String,String> partitionSpec)
           
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath, TableDesc table, Map<String,String> partitionSpec, boolean replace)
           
 
Method Summary
 DynamicPartitionCtx getDPCtx()
           
 boolean getHoldDDLTime()
           
 boolean getInheritTableSpecs()
           
 ListBucketingCtx getLbCtx()
           
 Map<String,String> getPartitionSpec()
           
 boolean getReplace()
           
 TableDesc getTable()
           
 void setDPCtx(DynamicPartitionCtx dpCtx)
           
 void setHoldDDLTime(boolean ddlTime)
           
 void setInheritTableSpecs(boolean inheritTableSpecs)
           
 void setLbCtx(ListBucketingCtx lbCtx)
           
 void setPartitionSpec(Map<String,String> partitionSpec)
           
 void setReplace(boolean replace)
           
 void setTable(TableDesc table)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.plan.LoadDesc
getSourcePath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadTableDesc

public LoadTableDesc()

LoadTableDesc

public LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
                     TableDesc table,
                     Map<String,String> partitionSpec,
                     boolean replace)

LoadTableDesc

public LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
                     TableDesc table,
                     Map<String,String> partitionSpec)

LoadTableDesc

public LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
                     TableDesc table,
                     DynamicPartitionCtx dpCtx)
Method Detail

setHoldDDLTime

public void setHoldDDLTime(boolean ddlTime)

getHoldDDLTime

public boolean getHoldDDLTime()

getTable

public TableDesc getTable()

setTable

public void setTable(TableDesc table)

getPartitionSpec

public Map<String,String> getPartitionSpec()

setPartitionSpec

public void setPartitionSpec(Map<String,String> partitionSpec)

getReplace

public boolean getReplace()

setReplace

public void setReplace(boolean replace)

getDPCtx

public DynamicPartitionCtx getDPCtx()

setDPCtx

public void setDPCtx(DynamicPartitionCtx dpCtx)

getInheritTableSpecs

public boolean getInheritTableSpecs()

setInheritTableSpecs

public void setInheritTableSpecs(boolean inheritTableSpecs)

getLbCtx

public ListBucketingCtx getLbCtx()
Returns:
the lbCtx

setLbCtx

public void setLbCtx(ListBucketingCtx lbCtx)
Parameters:
lbCtx - the lbCtx to set


Copyright © 2014 The Apache Software Foundation. All rights reserved.