public class LoadTableDesc extends LoadDesc implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
LoadTableDesc.LoadFileType |
Constructor and Description |
---|
LoadTableDesc(LoadTableDesc o) |
LoadTableDesc(org.apache.hadoop.fs.Path path,
Table tableHandle,
boolean isOverWrite,
boolean useAppendForLoad,
Map<String,String> partitionSpec) |
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
TableDesc table,
DynamicPartitionCtx dpCtx,
AcidUtils.Operation writeType,
boolean isReplace,
Long writeId) |
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,
Long currentWriteId) |
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
TableDesc table,
Map<String,String> partitionSpec,
LoadTableDesc.LoadFileType loadFileType,
AcidUtils.Operation writeType,
Long currentWriteId) |
LoadTableDesc(org.apache.hadoop.fs.Path sourcePath,
TableDesc table,
Map<String,String> partitionSpec,
LoadTableDesc.LoadFileType loadFileType,
Long writeId)
For use with non-ACID compliant operations, such as LOAD
|
getSourcePath, getWriteType, getWriteTypeString, setSourcePath
public LoadTableDesc(LoadTableDesc o)
public LoadTableDesc(org.apache.hadoop.fs.Path sourcePath, TableDesc table, Map<String,String> partitionSpec, LoadTableDesc.LoadFileType loadFileType, AcidUtils.Operation writeType, Long currentWriteId)
public LoadTableDesc(org.apache.hadoop.fs.Path sourcePath, TableDesc table, Map<String,String> partitionSpec, LoadTableDesc.LoadFileType loadFileType, Long writeId)
sourcePath
- table
- partitionSpec
- loadFileType
- writeId
- public LoadTableDesc(org.apache.hadoop.fs.Path sourcePath, TableDesc table, Map<String,String> partitionSpec, AcidUtils.Operation writeType, Long currentWriteId)
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, boolean isReplace, Long writeId)
public boolean isUseAppendForLoad()
public TableDesc getTable()
public void setTable(TableDesc table)
public boolean getReplace()
public LoadTableDesc.LoadFileType getLoadFileType()
public Boolean isMmTableExplain()
public boolean isMmTable()
public void setLoadFileType(LoadTableDesc.LoadFileType loadFileType)
public DynamicPartitionCtx getDPCtx()
public void setDPCtx(DynamicPartitionCtx dpCtx)
public boolean getInheritTableSpecs()
public boolean getInheritLocation()
public void setInheritTableSpecs(boolean inheritTableSpecs)
public boolean isInsertOverwrite()
public void setInsertOverwrite(boolean v)
public void setIsDirectInsert(boolean isDirectInsert)
public boolean isDirectInsert()
public ListBucketingCtx getLbCtx()
public void setLbCtx(ListBucketingCtx lbCtx)
lbCtx
- the lbCtx to setpublic long getWriteId()
public void setWriteId(long writeId)
public int getStmtId()
public void setStmtId(int stmtId)
public Table getMdTable()
public void setMdTable(Table mdTable)
public String getMoveTaskId()
public void setMoveTaskId(String moveTaskId)
Copyright © 2023 The Apache Software Foundation. All rights reserved.