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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EncodingStatscollect(Row staticRow, Iterator<Row> rows, DeletionInfo deletionInfo) get()voidupdate(DeletionTime deletionTime) voidupdate(LivenessInfo info) voidvoidupdateColumnSetPerRow(long columnSetInRow) voidupdateHasLegacyCounterShards(boolean hasLegacyCounterShards) voidupdateLocalDeletionTime(long deletionTime) voidvoidupdateTimestamp(long timestamp) voidupdateTTL(int ttl)
-
Constructor Details
-
Collector
public Collector()
-
-
Method Details
-
update
- Specified by:
updatein interfacePartitionStatisticsCollector
-
update
- Specified by:
updatein interfacePartitionStatisticsCollector
-
update
- Specified by:
updatein interfacePartitionStatisticsCollector
-
updatePartitionDeletion
- Specified by:
updatePartitionDeletionin 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:
updateColumnSetPerRowin interfacePartitionStatisticsCollector
-
updateHasLegacyCounterShards
public void updateHasLegacyCounterShards(boolean hasLegacyCounterShards) - Specified by:
updateHasLegacyCounterShardsin interfacePartitionStatisticsCollector
-
get
-
collect
-