@PublicEvolving public final class TableStats extends Object
Modifier and Type | Field and Description |
---|---|
static TableStats |
UNKNOWN
Unknown definition for table stats: Unknown
rowCount is -1. |
Constructor and Description |
---|
TableStats(long rowCount) |
TableStats(long rowCount,
Map<String,ColumnStats> colStats) |
Modifier and Type | Method and Description |
---|---|
TableStats |
copy()
Create a deep copy of "this" instance.
|
boolean |
equals(Object o) |
Map<String,ColumnStats> |
getColumnStats() |
long |
getRowCount() |
int |
hashCode() |
TableStats |
merge(TableStats other,
Set<String> partitionKeys)
Merges two table stats.
|
String |
toString() |
public static final TableStats UNKNOWN
public TableStats(long rowCount)
public TableStats(long rowCount, Map<String,ColumnStats> colStats)
public long getRowCount()
public Map<String,ColumnStats> getColumnStats()
public TableStats copy()
public TableStats merge(TableStats other, @Nullable Set<String> partitionKeys)
UNKNOWN
.other
- The other table stats to merge.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.