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 PartitionStatisticsCollector
public void update(Cell<?> cell)
update
in interface PartitionStatisticsCollector
public void update(DeletionTime deletionTime)
update
in interface PartitionStatisticsCollector
public void updateTimestamp(long timestamp)
public void updateLocalDeletionTime(int deletionTime)
public void updateTTL(int ttl)
public void updateColumnSetPerRow(long columnSetInRow)
updateColumnSetPerRow
in interface PartitionStatisticsCollector
public void updateHasLegacyCounterShards(boolean hasLegacyCounterShards)
updateHasLegacyCounterShards
in interface PartitionStatisticsCollector
public EncodingStats get()
public static EncodingStats collect(Row staticRow, java.util.Iterator<Row> rows, DeletionInfo deletionInfo)
Copyright © 2009-2021 The Apache Software Foundation