Class RTBoundValidator
java.lang.Object
org.apache.cassandra.db.transform.Transformation<UnfilteredRowIterator>
org.apache.cassandra.db.transform.RTBoundValidator
A validating transformation that sanity-checks the sequence of RT bounds and boundaries in every partition.
What we validate, specifically:
- that open markers are only followed by close markers
- that open markers and close markers have equal deletion times
- optionally, that the iterator closes its last RT marker
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionapplyToPartition(UnfilteredRowIterator partition) Applied to any rows iterator (partition) we encounter in a partitions iteratorstatic UnfilteredPartitionIteratorvalidate(UnfilteredPartitionIterator partitions, RTBoundValidator.Stage stage, boolean enforceIsClosed) static UnfilteredRowIteratorvalidate(UnfilteredRowIterator partition, RTBoundValidator.Stage stage, boolean enforceIsClosed) Methods inherited from class org.apache.cassandra.db.transform.Transformation
apply, apply, apply, apply, applyToDeletion, applyToMarker, applyToPartitionColumns, applyToPartitionKey, applyToRow, applyToStatic, onClose, onPartitionClose
-
Method Details
-
validate
public static UnfilteredPartitionIterator validate(UnfilteredPartitionIterator partitions, RTBoundValidator.Stage stage, boolean enforceIsClosed) -
validate
public static UnfilteredRowIterator validate(UnfilteredRowIterator partition, RTBoundValidator.Stage stage, boolean enforceIsClosed) -
applyToPartition
Description copied from class:TransformationApplied to any rows iterator (partition) we encounter in a partitions iterator- Overrides:
applyToPartitionin classTransformation<UnfilteredRowIterator>
-