public static class LineageInfo.DataContainer extends Object implements Serializable
| Constructor and Description |
|---|
DataContainer(org.apache.hadoop.hive.metastore.api.Table tab)
Constructor for non partitioned tables.
|
DataContainer(org.apache.hadoop.hive.metastore.api.Table tab,
org.apache.hadoop.hive.metastore.api.Partition part)
Constructor for a partitioned tables partition.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hive.metastore.api.Partition |
getPartition() |
org.apache.hadoop.hive.metastore.api.Table |
getTable() |
boolean |
isPartition()
Returns true in case this data container is a partition.
|
String |
toString() |
public DataContainer(org.apache.hadoop.hive.metastore.api.Table tab)
tab - The associated table.public DataContainer(org.apache.hadoop.hive.metastore.api.Table tab,
org.apache.hadoop.hive.metastore.api.Partition part)
part - The associated partition.public boolean isPartition()
public org.apache.hadoop.hive.metastore.api.Table getTable()
public org.apache.hadoop.hive.metastore.api.Partition getPartition()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.