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:
Clusterable,RangeTombstoneMarker,Unfiltered
public class RangeTombstoneBoundMarker extends AbstractRangeTombstoneMarker<ClusteringBound<?>>
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.Merger
-
Nested 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 Constructor Description RangeTombstoneBoundMarker(ClusteringBound<?> bound, DeletionTime deletion)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusteringBound<?>closeBound(boolean reversed)DeletionTimecloseDeletionTime(boolean reversed)booleancloseIsInclusive(boolean reversed)RangeTombstoneBoundMarkercopy(AbstractAllocator allocator)DeletionTimedeletionTime()The deletion time for the range tombstone this is a bound of.voiddigest(Digest digest)Digest the atom using the providedDigest.booleanequals(java.lang.Object other)static <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()booleanhasInvalidDeletions()Do 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)booleanisBoundary()ClusteringBound<?>openBound(boolean reversed)DeletionTimeopenDeletionTime(boolean reversed)booleanopenIsInclusive(boolean reversed)java.lang.StringtoString(TableMetadata metadata)RangeTombstoneBoundMarkerwithNewOpeningDeletionTime(boolean reversed, DeletionTime newDeletionTime)-
Methods inherited from class org.apache.cassandra.db.rows.AbstractRangeTombstoneMarker
clustering, isClose, isOpen, kind, toString, toString, validateData
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.db.rows.RangeTombstoneMarker
isEmpty
-
Methods inherited from interface org.apache.cassandra.db.rows.Unfiltered
isRangeTombstoneMarker, isRow
-
-
-
-
Constructor Detail
-
RangeTombstoneBoundMarker
public RangeTombstoneBoundMarker(ClusteringBound<?> bound, DeletionTime deletion)
-
-
Method Detail
-
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
public DeletionTime deletionTime()
The deletion time for the range tombstone this is a bound of.
-
openDeletionTime
public DeletionTime openDeletionTime(boolean reversed)
-
closeDeletionTime
public DeletionTime closeDeletionTime(boolean reversed)
-
openIsInclusive
public boolean openIsInclusive(boolean reversed)
-
closeIsInclusive
public boolean closeIsInclusive(boolean reversed)
-
openBound
public ClusteringBound<?> openBound(boolean reversed)
-
closeBound
public ClusteringBound<?> closeBound(boolean reversed)
-
copy
public RangeTombstoneBoundMarker copy(AbstractAllocator allocator)
-
withNewOpeningDeletionTime
public RangeTombstoneBoundMarker withNewOpeningDeletionTime(boolean reversed, DeletionTime newDeletionTime)
-
digest
public void digest(Digest digest)
Description copied from interface:UnfilteredDigest the atom using the providedDigest.- Parameters:
digest- the {@see Digest} to use.
-
toString
public java.lang.String toString(TableMetadata metadata)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-