|
||||||||||
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.DataContainer
public static class LineageInfo.DataContainer
Table or Partition data container. We need this class because the output of the query can either go to a table or a partition within a table. The data container class subsumes both of these.
Constructor Summary | |
---|---|
LineageInfo.DataContainer(Table tab)
Constructor for non partitioned tables. |
|
LineageInfo.DataContainer(Table tab,
Partition part)
Constructor for a partitioned tables partition. |
Method Summary | |
---|---|
Partition |
getPartition()
|
Table |
getTable()
|
boolean |
isPartition()
Returns true in case this data container is a partition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LineageInfo.DataContainer(Table tab)
tab
- The associated table.public LineageInfo.DataContainer(Table tab, Partition part)
part
- The associated partition.Method Detail |
---|
public boolean isPartition()
public Table getTable()
public Partition getPartition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |