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)
DeletionTime
closeDeletionTime(boolean reversed)
boolean
closeIsInclusive(boolean reversed)
RangeTombstoneBoundMarker
copy(AbstractAllocator allocator)
DeletionTime
deletionTime()
The deletion time for the range tombstone this is a bound of.void
digest(Digest digest)
Digest the atom using the providedDigest
.boolean
equals(java.lang.Object other)
static <V> RangeTombstoneBoundMarker
exclusiveClose(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion)
static <V> RangeTombstoneBoundMarker
exclusiveClose(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion)
static <V> RangeTombstoneBoundMarker
exclusiveOpen(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion)
static <V> RangeTombstoneBoundMarker
exclusiveOpen(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion)
int
hashCode()
boolean
hasInvalidDeletions()
Do a quick validation of the deletions of the unfiltered (if any)static <V> RangeTombstoneBoundMarker
inclusiveClose(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion)
static <V> RangeTombstoneBoundMarker
inclusiveClose(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion)
static <V> RangeTombstoneBoundMarker
inclusiveOpen(boolean reversed, ClusteringPrefix<V> from, DeletionTime deletion)
static <V> RangeTombstoneBoundMarker
inclusiveOpen(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime deletion)
boolean
isBoundary()
ClusteringBound<?>
openBound(boolean reversed)
DeletionTime
openDeletionTime(boolean reversed)
boolean
openIsInclusive(boolean reversed)
java.lang.String
toString(TableMetadata metadata)
RangeTombstoneBoundMarker
withNewOpeningDeletionTime(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:
isBoundary
in interfaceRangeTombstoneMarker
- Overrides:
isBoundary
in classAbstractRangeTombstoneMarker<ClusteringBound<?>>
-
hasInvalidDeletions
public boolean hasInvalidDeletions()
Description copied from interface:Unfiltered
Do 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:Unfiltered
Digest 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-