public static class EncodingStats.Collector extends java.lang.Object implements PartitionStatisticsCollector
| Constructor and Description |
|---|
Collector() |
| Modifier and Type | Method and Description |
|---|---|
static EncodingStats |
collect(Row staticRow,
java.util.Iterator<Row> rows,
DeletionInfo deletionInfo) |
EncodingStats |
get() |
void |
update(Cell cell) |
void |
update(DeletionTime deletionTime) |
void |
update(LivenessInfo info) |
void |
updateColumnSetPerRow(long columnSetInRow) |
void |
updateHasLegacyCounterShards(boolean hasLegacyCounterShards) |
void |
updateLocalDeletionTime(int deletionTime) |
void |
updateTimestamp(long timestamp) |
void |
updateTTL(int ttl) |
public void update(LivenessInfo info)
update in interface PartitionStatisticsCollectorpublic void update(Cell cell)
update in interface PartitionStatisticsCollectorpublic void update(DeletionTime deletionTime)
update in interface PartitionStatisticsCollectorpublic void updateTimestamp(long timestamp)
public void updateLocalDeletionTime(int deletionTime)
public void updateTTL(int ttl)
public void updateColumnSetPerRow(long columnSetInRow)
updateColumnSetPerRow in interface PartitionStatisticsCollectorpublic void updateHasLegacyCounterShards(boolean hasLegacyCounterShards)
updateHasLegacyCounterShards in interface PartitionStatisticsCollectorpublic EncodingStats get()
public static EncodingStats collect(Row staticRow, java.util.Iterator<Row> rows, DeletionInfo deletionInfo)
Copyright © 2018 The Apache Software Foundation