Package org.apache.cassandra.db.rows
Class RangeTombstoneBoundMarker
java.lang.Object
org.apache.cassandra.db.rows.AbstractRangeTombstoneMarker<ClusteringBound<?>>
org.apache.cassandra.db.rows.RangeTombstoneBoundMarker
- All Implemented Interfaces:
IMeasurableMemory,Clusterable,RangeTombstoneMarker,Unfiltered
- Direct Known Subclasses:
ArtificialBoundMarker
A range tombstone marker that indicates the bound of a range tombstone (start or end).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.db.rows.RangeTombstoneMarker
RangeTombstoneMarker.MergerNested classes/interfaces inherited from interface org.apache.cassandra.db.rows.Unfiltered
Unfiltered.Kind -
Field Summary
Fields inherited from class org.apache.cassandra.db.rows.AbstractRangeTombstoneMarker
bound -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone(ByteBufferCloner cloner) closeBound(boolean reversed) closeDeletionTime(boolean reversed) booleancloseIsInclusive(boolean reversed) The deletion time for the range tombstone this is a bound of.voidDigest the atom using the providedDigest.booleanstatic <V> RangeTombstoneBoundMarkerexclusiveClose(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion) static <V> RangeTombstoneBoundMarkerexclusiveClose(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion) static <V> RangeTombstoneBoundMarkerexclusiveOpen(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion) static <V> RangeTombstoneBoundMarkerexclusiveOpen(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion) inthashCode()booleanDo a quick validation of the deletions of the unfiltered (if any)static <V> RangeTombstoneBoundMarkerinclusiveClose(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion) static <V> RangeTombstoneBoundMarkerinclusiveClose(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion) static <V> RangeTombstoneBoundMarkerinclusiveOpen(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion) static <V> RangeTombstoneBoundMarkerinclusiveOpen(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion) booleanopenBound(boolean reversed) openDeletionTime(boolean reversed) booleanopenIsInclusive(boolean reversed) toString(TableMetadata metadata) longwithNewOpeningDeletionTime(boolean reversed, DeletionTime newDeletionTime) Methods inherited from class org.apache.cassandra.db.rows.AbstractRangeTombstoneMarker
clustering, isClose, isOpen, kind, toString, toString, validateDataMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.db.rows.RangeTombstoneMarker
isEmptyMethods inherited from interface org.apache.cassandra.db.rows.Unfiltered
isRangeTombstoneMarker, isRow
-
Constructor Details
-
RangeTombstoneBoundMarker
-
-
Method Details
-
inclusiveOpen
public static <V> RangeTombstoneBoundMarker inclusiveOpen(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion) -
inclusiveOpen
public static <V> RangeTombstoneBoundMarker inclusiveOpen(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion) -
exclusiveOpen
public static <V> RangeTombstoneBoundMarker exclusiveOpen(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion) -
exclusiveOpen
public static <V> RangeTombstoneBoundMarker exclusiveOpen(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion) -
inclusiveClose
public static <V> RangeTombstoneBoundMarker inclusiveClose(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion) -
inclusiveClose
public static <V> RangeTombstoneBoundMarker inclusiveClose(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion) -
exclusiveClose
public static <V> RangeTombstoneBoundMarker exclusiveClose(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion) -
exclusiveClose
public static <V> RangeTombstoneBoundMarker exclusiveClose(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion) -
isBoundary
public boolean isBoundary()- Specified by:
isBoundaryin interfaceRangeTombstoneMarker- Overrides:
isBoundaryin classAbstractRangeTombstoneMarker<ClusteringBound<?>>
-
hasInvalidDeletions
public boolean hasInvalidDeletions()Description copied from interface:UnfilteredDo a quick validation of the deletions of the unfiltered (if any)- Returns:
- true if any deletion is invalid
-
deletionTime
The deletion time for the range tombstone this is a bound of. -
openDeletionTime
-
closeDeletionTime
-
openIsInclusive
public boolean openIsInclusive(boolean reversed) -
closeIsInclusive
public boolean closeIsInclusive(boolean reversed) -
openBound
-
closeBound
-
clone
-
withNewOpeningDeletionTime
public RangeTombstoneBoundMarker withNewOpeningDeletionTime(boolean reversed, DeletionTime newDeletionTime) -
digest
Description copied from interface:UnfilteredDigest the atom using the providedDigest.- Parameters:
digest- the to use.
-
toString
-
equals
-
hashCode
public int hashCode()
-