|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.ql.session.LineageState
public class LineageState
LineageState. Contains all the information used to generate the lineage information for the post execution hooks.
| Constructor Summary | |
|---|---|
LineageState()
Constructor. |
|
| Method Summary | |
|---|---|
LineageInfo |
getLineageInfo()
Gets the lineage information. |
void |
mapDirToFop(String dir,
FileSinkOperator fop)
Adds a mapping from the load work to the file sink operator. |
void |
setIndex(LineageCtx.Index index)
Sets the index for the lineage state. |
void |
setLineage(String dir,
LineageInfo.DataContainer dc,
List<FieldSchema> cols)
Set the lineage information for the associated directory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineageState()
| Method Detail |
|---|
public void mapDirToFop(String dir,
FileSinkOperator fop)
dir - The directory name.fop - The file sink operator.
public void setLineage(String dir,
LineageInfo.DataContainer dc,
List<FieldSchema> cols)
dir - The directory containing the query results.dc - The associated data container.cols - The list of columns.public LineageInfo getLineageInfo()
public void setIndex(LineageCtx.Index index)
index - The index derived from lineage context.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||