public class MoveWork extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected HashSet<ReadEntity> |
inputs
ReadEntitites that are passed to the hooks.
|
protected List<Partition> |
movedParts
List of inserted partitions
|
protected HashSet<WriteEntity> |
outputs
List of WriteEntities that are passed to the hooks.
|
Constructor and Description |
---|
MoveWork() |
MoveWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs) |
MoveWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
LoadTableDesc loadTableWork,
LoadFileDesc loadFileWork,
boolean checkFileFormat) |
MoveWork(HashSet<ReadEntity> inputs,
HashSet<WriteEntity> outputs,
LoadTableDesc loadTableWork,
LoadFileDesc loadFileWork,
boolean checkFileFormat,
boolean srcLocal) |
Modifier and Type | Method and Description |
---|---|
boolean |
getCheckFileFormat() |
HashSet<ReadEntity> |
getInputs() |
LoadFileDesc |
getLoadFileWork() |
LoadMultiFilesDesc |
getLoadMultiFilesWork() |
LoadTableDesc |
getLoadTableWork() |
HashSet<WriteEntity> |
getOutputs() |
boolean |
isSrcLocal() |
void |
setCheckFileFormat(boolean checkFileFormat) |
void |
setInputs(HashSet<ReadEntity> inputs) |
void |
setLoadFileWork(LoadFileDesc loadFileWork) |
void |
setLoadTableWork(LoadTableDesc loadTableWork) |
void |
setMultiFilesDesc(LoadMultiFilesDesc lmfd) |
void |
setOutputs(HashSet<WriteEntity> outputs) |
void |
setSrcLocal(boolean srcLocal) |
protected HashSet<ReadEntity> inputs
protected HashSet<WriteEntity> outputs
public MoveWork()
public MoveWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs)
public MoveWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, LoadTableDesc loadTableWork, LoadFileDesc loadFileWork, boolean checkFileFormat, boolean srcLocal)
public MoveWork(HashSet<ReadEntity> inputs, HashSet<WriteEntity> outputs, LoadTableDesc loadTableWork, LoadFileDesc loadFileWork, boolean checkFileFormat)
public LoadTableDesc getLoadTableWork()
public void setLoadTableWork(LoadTableDesc loadTableWork)
public LoadFileDesc getLoadFileWork()
public LoadMultiFilesDesc getLoadMultiFilesWork()
public void setMultiFilesDesc(LoadMultiFilesDesc lmfd)
public void setLoadFileWork(LoadFileDesc loadFileWork)
public boolean getCheckFileFormat()
public void setCheckFileFormat(boolean checkFileFormat)
public HashSet<ReadEntity> getInputs()
public HashSet<WriteEntity> getOutputs()
public void setInputs(HashSet<ReadEntity> inputs)
public void setOutputs(HashSet<WriteEntity> outputs)
public boolean isSrcLocal()
public void setSrcLocal(boolean srcLocal)
Copyright © 2017 The Apache Software Foundation. All rights reserved.