|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.hooks.LineageInfo
public class LineageInfo
This class contains the lineage information that is passed to the PreExecution hook.
Nested Class Summary | |
---|---|
static class |
LineageInfo.BaseColumnInfo
Base Column information. |
static class |
LineageInfo.DataContainer
Table or Partition data container. |
static class |
LineageInfo.Dependency
This class tracks the dependency information for the base column. |
static class |
LineageInfo.DependencyKey
Class that captures the lookup key for the dependency. |
static class |
LineageInfo.DependencyType
Enum to track dependency. |
static class |
LineageInfo.TableAliasInfo
|
Field Summary | |
---|---|
protected Map<LineageInfo.DependencyKey,LineageInfo.Dependency> |
index
The map contains an index from the (datacontainer, columnname) to the dependency vector for that tuple. |
Constructor Summary | |
---|---|
LineageInfo()
Constructor. |
Method Summary | |
---|---|
Set<Map.Entry<LineageInfo.DependencyKey,LineageInfo.Dependency>> |
entrySet()
Gets the entry set on this structure. |
LineageInfo.Dependency |
getDependency(LineageInfo.DataContainer dc,
FieldSchema col)
Gets the dependency for a table, column tuple. |
void |
putDependency(LineageInfo.DataContainer dc,
FieldSchema col,
LineageInfo.Dependency dep)
Puts the dependency for a table, column tuple. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map<LineageInfo.DependencyKey,LineageInfo.Dependency> index
Constructor Detail |
---|
public LineageInfo()
Method Detail |
---|
public LineageInfo.Dependency getDependency(LineageInfo.DataContainer dc, FieldSchema col)
dc
- The data container of the column whose dependency is being inspected.col
- The column whose dependency is being inspected.
public void putDependency(LineageInfo.DataContainer dc, FieldSchema col, LineageInfo.Dependency dep)
dc
- The datacontainer whose dependency is being inserted.col
- The column whose dependency is being inserted.dep
- The dependency.public Set<Map.Entry<LineageInfo.DependencyKey,LineageInfo.Dependency>> entrySet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |