public class LoadTableDesc extends LoadDesc implements Serializable
Constructor and Description |
---|
LoadTableDesc() |
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
TableDesc table,
DynamicPartitionCtx dpCtx,
AcidUtils.Operation writeType) |
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
TableDesc table,
Map<String,String> partitionSpec)
For DDL operations that are not ACID compliant.
|
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
TableDesc table,
Map<String,String> partitionSpec,
AcidUtils.Operation writeType) |
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
TableDesc table,
Map<String,String> partitionSpec,
boolean replace)
For use with non-ACID compliant operations, such as LOAD
|
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
TableDesc table,
Map<String,String> partitionSpec,
boolean replace,
AcidUtils.Operation writeType) |
Modifier and Type | Method and Description |
---|---|
DynamicPartitionCtx |
getDPCtx() |
boolean |
getHoldDDLTime() |
boolean |
getInheritTableSpecs() |
ListBucketingCtx |
getLbCtx() |
Map<String,String> |
getPartitionSpec() |
boolean |
getReplace() |
TableDesc |
getTable() |
AcidUtils.Operation |
getWriteType() |
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) |
getSourcePath
public LoadTableDesc()
public LoadTableDesc(org.apache.hadoop.fs.Path sourcePath, TableDesc table, Map<String,String> partitionSpec, boolean replace, AcidUtils.Operation writeType)
public LoadTableDesc(org.apache.hadoop.fs.Path sourcePath, TableDesc table, Map<String,String> partitionSpec, boolean replace)
sourcePath
- table
- partitionSpec
- replace
- public LoadTableDesc(org.apache.hadoop.fs.Path sourcePath, TableDesc table, Map<String,String> partitionSpec, AcidUtils.Operation writeType)
public LoadTableDesc(org.apache.hadoop.fs.Path sourcePath, TableDesc table, Map<String,String> partitionSpec)
sourcePath
- table
- partitionSpec
- public LoadTableDesc(org.apache.hadoop.fs.Path sourcePath, TableDesc table, DynamicPartitionCtx dpCtx, AcidUtils.Operation writeType)
public void setHoldDDLTime(boolean ddlTime)
public boolean getHoldDDLTime()
public TableDesc getTable()
public void setTable(TableDesc table)
public boolean getReplace()
public void setReplace(boolean replace)
public DynamicPartitionCtx getDPCtx()
public void setDPCtx(DynamicPartitionCtx dpCtx)
public boolean getInheritTableSpecs()
public void setInheritTableSpecs(boolean inheritTableSpecs)
public ListBucketingCtx getLbCtx()
public void setLbCtx(ListBucketingCtx lbCtx)
lbCtx
- the lbCtx to setpublic AcidUtils.Operation getWriteType()
Copyright © 2017 The Apache Software Foundation. All rights reserved.