Package org.apache.cassandra.metrics
Class TopPartitionTracker.TombstoneCounter
java.lang.Object
org.apache.cassandra.db.transform.Transformation<UnfilteredRowIterator>
org.apache.cassandra.metrics.TopPartitionTracker.TombstoneCounter
- Enclosing class:
- TopPartitionTracker
public static class TopPartitionTracker.TombstoneCounter
extends Transformation<UnfilteredRowIterator>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyToMarker(RangeTombstoneMarker marker) Applied to any RTM we encounter in a rows/unfiltered iteratorprotected UnfilteredRowIteratorapplyToPartition(UnfilteredRowIterator partition) Applied to any rows iterator (partition) we encounter in a partitions iteratorapplyToRow(Row row) Applied to any row we encounter in a rows iteratorvoidRun on the close of any (logical) rows iterator this function was applied to We stipulate logical, because if applied to a transformed iterator the lifetime of the iterator object may be longer than the lifetime of the "logical" iterator it was applied to; if the iterator is refilled with MoreContents, for instance, the iterator may outlive this functionMethods inherited from class org.apache.cassandra.db.transform.Transformation
apply, apply, apply, apply, applyToDeletion, applyToPartitionColumns, applyToPartitionKey, applyToStatic, onClose
-
Constructor Details
-
TombstoneCounter
-
-
Method Details
-
applyToRow
Description copied from class:TransformationApplied to any row we encounter in a rows iterator- Overrides:
applyToRowin classTransformation<UnfilteredRowIterator>
-
applyToMarker
Description copied from class:TransformationApplied to any RTM we encounter in a rows/unfiltered iterator- Overrides:
applyToMarkerin classTransformation<UnfilteredRowIterator>
-
applyToPartition
Description copied from class:TransformationApplied to any rows iterator (partition) we encounter in a partitions iterator- Overrides:
applyToPartitionin classTransformation<UnfilteredRowIterator>
-
onPartitionClose
public void onPartitionClose()Description copied from class:TransformationRun on the close of any (logical) rows iterator this function was applied to We stipulate logical, because if applied to a transformed iterator the lifetime of the iterator object may be longer than the lifetime of the "logical" iterator it was applied to; if the iterator is refilled with MoreContents, for instance, the iterator may outlive this function- Overrides:
onPartitionClosein classTransformation<UnfilteredRowIterator>
-