Package org.apache.cassandra.db.rows
Class EncodingStats.Collector
- java.lang.Object
-
- org.apache.cassandra.db.rows.EncodingStats.Collector
-
- All Implemented Interfaces:
PartitionStatisticsCollector
- Enclosing class:
- EncodingStats
public static class EncodingStats.Collector extends java.lang.Object implements PartitionStatisticsCollector
-
-
Constructor Summary
Constructors Constructor Description Collector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncodingStats
collect(Row staticRow, java.util.Iterator<Row> rows, DeletionInfo deletionInfo)
EncodingStats
get()
void
update(DeletionTime deletionTime)
void
update(LivenessInfo info)
void
update(Cell<?> cell)
void
updateColumnSetPerRow(long columnSetInRow)
void
updateHasLegacyCounterShards(boolean hasLegacyCounterShards)
void
updateLocalDeletionTime(long deletionTime)
void
updatePartitionDeletion(DeletionTime dt)
void
updateTimestamp(long timestamp)
void
updateTTL(int ttl)
-
-
-
Method Detail
-
update
public void update(LivenessInfo info)
- Specified by:
update
in interfacePartitionStatisticsCollector
-
update
public void update(Cell<?> cell)
- Specified by:
update
in interfacePartitionStatisticsCollector
-
update
public void update(DeletionTime deletionTime)
- Specified by:
update
in interfacePartitionStatisticsCollector
-
updatePartitionDeletion
public void updatePartitionDeletion(DeletionTime dt)
- Specified by:
updatePartitionDeletion
in interfacePartitionStatisticsCollector
-
updateTimestamp
public void updateTimestamp(long timestamp)
-
updateLocalDeletionTime
public void updateLocalDeletionTime(long deletionTime)
-
updateTTL
public void updateTTL(int ttl)
-
updateColumnSetPerRow
public void updateColumnSetPerRow(long columnSetInRow)
- Specified by:
updateColumnSetPerRow
in interfacePartitionStatisticsCollector
-
updateHasLegacyCounterShards
public void updateHasLegacyCounterShards(boolean hasLegacyCounterShards)
- Specified by:
updateHasLegacyCounterShards
in interfacePartitionStatisticsCollector
-
get
public EncodingStats get()
-
collect
public static EncodingStats collect(Row staticRow, java.util.Iterator<Row> rows, DeletionInfo deletionInfo)
-
-