Class DuplicateRowChecker
- java.lang.Object
-
- org.apache.cassandra.db.transform.Transformation<BaseRowIterator<?>>
-
- org.apache.cassandra.db.transform.DuplicateRowChecker
-
public class DuplicateRowChecker extends Transformation<BaseRowIterator<?>>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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, java.util.List<InetAddressAndPort> replicas)protected voidonPartitionClose()Run 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-
Methods inherited from class org.apache.cassandra.db.transform.Transformation
apply, apply, apply, apply, applyToPartition, applyToPartitionColumns, applyToPartitionKey, onClose
-
-
-
-
Method Detail
-
applyToDeletion
protected DeletionTime applyToDeletion(DeletionTime deletionTime)
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
protected RangeTombstoneMarker applyToMarker(RangeTombstoneMarker marker)
Description copied from class:TransformationApplied to any RTM we encounter in a rows/unfiltered iterator- Overrides:
applyToMarkerin classTransformation<BaseRowIterator<?>>
-
applyToStatic
protected Row applyToStatic(Row row)
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
protected Row applyToRow(Row row)
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, java.util.List<InetAddressAndPort> replicas)
-
-