Class EnsureOnHeap
- java.lang.Object
-
- org.apache.cassandra.db.transform.Transformation
-
- org.apache.cassandra.utils.memory.EnsureOnHeap
-
public abstract class EnsureOnHeap extends Transformation
-
-
Field Summary
Fields Modifier and Type Field Description static EnsureOnHeap
NOOP
-
Constructor Summary
Constructors Constructor Description EnsureOnHeap()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract DeletionInfo
applyToDeletionInfo(DeletionInfo deletionInfo)
abstract RangeTombstoneMarker
applyToMarker(RangeTombstoneMarker marker)
Applied to any RTM we encounter in a rows/unfiltered iteratorabstract java.util.Iterator<Row>
applyToPartition(java.util.Iterator<Row> partition)
abstract UnfilteredRowIterator
applyToPartition(UnfilteredRowIterator partition)
abstract SearchIterator<Clustering<?>,Row>
applyToPartition(SearchIterator<Clustering<?>,Row> partition)
abstract DecoratedKey
applyToPartitionKey(DecoratedKey key)
Applied to the partition key of any rows/unfiltered iterator we are applied toabstract Row
applyToRow(Row row)
Applied to any row we encounter in a rows iteratorabstract Row
applyToStatic(Row row)
Applied to the static row of any rows iterator.-
Methods inherited from class org.apache.cassandra.db.transform.Transformation
apply, apply, apply, apply, applyToDeletion, applyToPartition, applyToPartitionColumns, onClose, onPartitionClose
-
-
-
-
Field Detail
-
NOOP
public static final EnsureOnHeap NOOP
-
-
Method Detail
-
applyToPartitionKey
public abstract DecoratedKey applyToPartitionKey(DecoratedKey key)
Description copied from class:Transformation
Applied to the partition key of any rows/unfiltered iterator we are applied to- Overrides:
applyToPartitionKey
in classTransformation
-
applyToPartition
public abstract UnfilteredRowIterator applyToPartition(UnfilteredRowIterator partition)
-
applyToPartition
public abstract SearchIterator<Clustering<?>,Row> applyToPartition(SearchIterator<Clustering<?>,Row> partition)
-
applyToPartition
public abstract java.util.Iterator<Row> applyToPartition(java.util.Iterator<Row> partition)
-
applyToDeletionInfo
public abstract DeletionInfo applyToDeletionInfo(DeletionInfo deletionInfo)
-
applyToRow
public abstract Row applyToRow(Row row)
Description copied from class:Transformation
Applied to any row we encounter in a rows iterator- Overrides:
applyToRow
in classTransformation
-
applyToStatic
public abstract Row applyToStatic(Row row)
Description copied from class:Transformation
Applied 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:
applyToStatic
in classTransformation
-
applyToMarker
public abstract RangeTombstoneMarker applyToMarker(RangeTombstoneMarker marker)
Description copied from class:Transformation
Applied to any RTM we encounter in a rows/unfiltered iterator- Overrides:
applyToMarker
in classTransformation
-
-