public class MetastoreTableInfo extends Object
| Constructor and Description |
|---|
MetastoreTableInfo(TableInfo tableInfo,
Long lastModifiedTime,
boolean exists,
long metastoreVersion) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
hasChanged(boolean currentExists,
Long currentLastModifiedTime)
Checks if table metadata has changed or not, based on given exists status and last modified time.
|
int |
hashCode() |
boolean |
isExists() |
Long |
lastModifiedTime() |
long |
metastoreVersion() |
static MetastoreTableInfo |
of(TableInfo tableInfo,
TableMetadataUnit unit,
long metastoreVersion) |
TableInfo |
tableInfo() |
String |
toString() |
public static MetastoreTableInfo of(TableInfo tableInfo, TableMetadataUnit unit, long metastoreVersion)
public TableInfo tableInfo()
public Long lastModifiedTime()
public boolean isExists()
public long metastoreVersion()
public boolean hasChanged(boolean currentExists,
Long currentLastModifiedTime)
currentExists - current table exists statuscurrentLastModifiedTime - current table lat modified timeCopyright © 2021 The Apache Software Foundation. All rights reserved.