|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.hive.ql.optimizer.lineage.LineageCtx
public class LineageCtx
This class contains the lineage context that is passed while walking the operator tree in Lineage. The context contains the LineageInfo structure that is passed to the pre-execution hooks.
Nested Class Summary | |
---|---|
static class |
LineageCtx.Index
|
Constructor Summary | |
---|---|
LineageCtx(ParseContext pctx)
Constructor. |
Method Summary | |
---|---|
LineageCtx.Index |
getIndex()
Gets the dependency index. |
static LineageInfo.DependencyType |
getNewDependencyType(LineageInfo.DependencyType old_type,
LineageInfo.DependencyType curr_type)
Gets the new dependency type by comparing the old dependency type and the current dependency type. |
ParseContext |
getParseCtx()
Gets the parse context. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LineageCtx(ParseContext pctx)
pctx
- The parse context that is used to get table metadata information.Method Detail |
---|
public ParseContext getParseCtx()
public LineageCtx.Index getIndex()
public static LineageInfo.DependencyType getNewDependencyType(LineageInfo.DependencyType old_type, LineageInfo.DependencyType curr_type)
old_type
- The old dependency type.curr_type
- The current operators dependency type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |