Class DuplicateRowChecker
java.lang.Object
org.apache.cassandra.db.transform.Transformation<BaseRowIterator<?>>
org.apache.cassandra.db.transform.DuplicateRowChecker
-
Method Summary
Modifier and TypeMethodDescriptionprotected DeletionTimeapplyToDeletion(DeletionTime deletionTime) Applied to the partition-level deletion of any rows iterator.protected RangeTombstoneMarkerapplyToMarker(RangeTombstoneMarker marker) Applied to any RTM we encounter in a rows/unfiltered iteratorprotected RowapplyToRow(Row row) Applied to any row we encounter in a rows iteratorprotected RowapplyToStatic(Row row) Applied to the static row of any rows iterator.static UnfilteredPartitionIteratorduringCompaction(UnfilteredPartitionIterator iterator, OperationType type) static PartitionIteratorduringRead(PartitionIterator iterator, List<InetAddressAndPort> replicas) protected voidRun 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, applyToPartition, applyToPartitionColumns, applyToPartitionKey, onClose
-
Method Details
-
applyToDeletion
Description copied from class:TransformationApplied to the partition-level deletion of any rows iterator. NOTE that this is only applied to the first iterator in any sequence of iterators filled by a MoreContents; the static data for such iterators is all expected to be equal- Overrides:
applyToDeletionin classTransformation<BaseRowIterator<?>>
-
applyToMarker
Description copied from class:TransformationApplied to any RTM we encounter in a rows/unfiltered iterator- Overrides:
applyToMarkerin classTransformation<BaseRowIterator<?>>
-
applyToStatic
Description copied from class:TransformationApplied to the static row of any rows iterator. NOTE that this is only applied to the first iterator in any sequence of iterators filled by a MoreContents; the static data for such iterators is all expected to be equal- Overrides:
applyToStaticin classTransformation<BaseRowIterator<?>>
-
applyToRow
Description copied from class:TransformationApplied to any row we encounter in a rows iterator- Overrides:
applyToRowin classTransformation<BaseRowIterator<?>>
-
onPartitionClose
protected 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<BaseRowIterator<?>>
-
duringCompaction
public static UnfilteredPartitionIterator duringCompaction(UnfilteredPartitionIterator iterator, OperationType type) -
duringRead
public static PartitionIterator duringRead(PartitionIterator iterator, List<InetAddressAndPort> replicas)
-