public class LineageCtx extends Object implements NodeProcessorCtx
Modifier and Type | Class and Description |
---|---|
static class |
LineageCtx.Index |
Constructor and Description |
---|
LineageCtx(ParseContext pctx,
LineageCtx.Index index)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public LineageCtx(ParseContext pctx, LineageCtx.Index index)
pctx
- The parse context that is used to get table metadata information.index
- The dependency map.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.Copyright © 2019 The Apache Software Foundation. All rights reserved.