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 EncodingStatscollect(Row staticRow, java.util.Iterator<Row> rows, DeletionInfo deletionInfo)EncodingStatsget()voidupdate(DeletionTime deletionTime)voidupdate(LivenessInfo info)voidupdate(Cell<?> cell)voidupdateColumnSetPerRow(long columnSetInRow)voidupdateHasLegacyCounterShards(boolean hasLegacyCounterShards)voidupdateLocalDeletionTime(int deletionTime)voidupdateTimestamp(long timestamp)voidupdateTTL(int ttl)
-
-
-
Method Detail
-
update
public void update(LivenessInfo info)
- Specified by:
updatein interfacePartitionStatisticsCollector
-
update
public void update(Cell<?> cell)
- Specified by:
updatein interfacePartitionStatisticsCollector
-
update
public void update(DeletionTime deletionTime)
- Specified by:
updatein interfacePartitionStatisticsCollector
-
updateTimestamp
public void updateTimestamp(long timestamp)
-
updateLocalDeletionTime
public void updateLocalDeletionTime(int deletionTime)
-
updateTTL
public void updateTTL(int ttl)
-
updateColumnSetPerRow
public void updateColumnSetPerRow(long columnSetInRow)
- Specified by:
updateColumnSetPerRowin interfacePartitionStatisticsCollector
-
updateHasLegacyCounterShards
public void updateHasLegacyCounterShards(boolean hasLegacyCounterShards)
- Specified by:
updateHasLegacyCounterShardsin interfacePartitionStatisticsCollector
-
get
public EncodingStats get()
-
collect
public static EncodingStats collect(Row staticRow, java.util.Iterator<Row> rows, DeletionInfo deletionInfo)
-
-