public class CompactionInfo extends Object implements Comparable<CompactionInfo>
| Modifier and Type | Field and Description |
|---|---|
String |
dbname |
long |
highestWriteId
0 means it wasn't set (e.g. |
long |
id |
String |
partName |
String |
properties |
String |
runAs |
String |
tableName |
boolean |
tooManyAborts |
org.apache.hadoop.hive.metastore.api.CompactionType |
type |
| Constructor and Description |
|---|
CompactionInfo(String dbname,
String tableName,
String partName,
org.apache.hadoop.hive.metastore.api.CompactionType type) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CompactionInfo o) |
String |
getFullPartitionName() |
String |
getFullTableName() |
boolean |
isMajorCompaction() |
String |
toString() |
public long id
public String dbname
public String tableName
public String partName
public org.apache.hadoop.hive.metastore.api.CompactionType type
public String runAs
public String properties
public boolean tooManyAborts
public long highestWriteId
0 means it wasn't set (e.g. in case of upgrades, since ResultSet.getLong() will return 0 if field is NULL)
See TxnStore.setCompactionHighestWriteId(CompactionInfo, long) for precise definition.
See also TxnUtils.createValidCompactWriteIdList(TableValidWriteIds) and
ValidReaderWriteIdList.highWatermark.public String getFullPartitionName()
public String getFullTableName()
public boolean isMajorCompaction()
public int compareTo(CompactionInfo o)
compareTo in interface Comparable<CompactionInfo>Copyright © 2019 The Apache Software Foundation. All Rights Reserved.