public class LineageInfo extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
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 |
Modifier and Type | Field and Description |
---|---|
protected Map<LineageInfo.DependencyKey,LineageInfo.Dependency> |
index
The map contains an index from the (datacontainer, columnname) to the
dependency vector for that tuple.
|
Constructor and Description |
---|
LineageInfo()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
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.
|
protected Map<LineageInfo.DependencyKey,LineageInfo.Dependency> index
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()
public void clear()
Copyright © 2017 The Apache Software Foundation. All rights reserved.