Package org.apache.cassandra.db.rows
Class AbstractRangeTombstoneMarker<B extends ClusteringBoundOrBoundary<?>>
- java.lang.Object
-
- org.apache.cassandra.db.rows.AbstractRangeTombstoneMarker<B>
-
- All Implemented Interfaces:
IMeasurableMemory
,Clusterable
,RangeTombstoneMarker
,Unfiltered
- Direct Known Subclasses:
RangeTombstoneBoundaryMarker
,RangeTombstoneBoundMarker
public abstract class AbstractRangeTombstoneMarker<B extends ClusteringBoundOrBoundary<?>> extends java.lang.Object implements RangeTombstoneMarker
-
-
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractRangeTombstoneMarker(B bound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
clustering()
boolean
isBoundary()
boolean
isClose(boolean reversed)
boolean
isOpen(boolean reversed)
Unfiltered.Kind
kind()
The kind of the atom: either row or range tombstone marker.java.lang.String
toString(TableMetadata metadata, boolean fullDetails)
java.lang.String
toString(TableMetadata metadata, boolean includeClusteringKeys, boolean fullDetails)
void
validateData(TableMetadata metadata)
Validate the data of this atom.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.cache.IMeasurableMemory
unsharedHeapSize
-
Methods inherited from interface org.apache.cassandra.db.rows.RangeTombstoneMarker
clone, closeBound, closeDeletionTime, closeIsInclusive, isEmpty, openBound, openDeletionTime, openIsInclusive, withNewOpeningDeletionTime
-
Methods inherited from interface org.apache.cassandra.db.rows.Unfiltered
digest, hasInvalidDeletions, isRangeTombstoneMarker, isRow, toString
-
-
-
-
Field Detail
-
bound
protected final B extends ClusteringBoundOrBoundary<?> bound
-
-
Constructor Detail
-
AbstractRangeTombstoneMarker
protected AbstractRangeTombstoneMarker(B bound)
-
-
Method Detail
-
clustering
public B clustering()
- Specified by:
clustering
in interfaceClusterable<B extends ClusteringBoundOrBoundary<?>>
- Specified by:
clustering
in interfaceRangeTombstoneMarker
- Specified by:
clustering
in interfaceUnfiltered
-
kind
public Unfiltered.Kind kind()
Description copied from interface:Unfiltered
The kind of the atom: either row or range tombstone marker.- Specified by:
kind
in interfaceUnfiltered
-
isBoundary
public boolean isBoundary()
- Specified by:
isBoundary
in interfaceRangeTombstoneMarker
-
isOpen
public boolean isOpen(boolean reversed)
- Specified by:
isOpen
in interfaceRangeTombstoneMarker
-
isClose
public boolean isClose(boolean reversed)
- Specified by:
isClose
in interfaceRangeTombstoneMarker
-
validateData
public void validateData(TableMetadata metadata)
Description copied from interface:Unfiltered
Validate the data of this atom.- Specified by:
validateData
in interfaceUnfiltered
- Parameters:
metadata
- the metadata for the table this atom is part of.
-
toString
public java.lang.String toString(TableMetadata metadata, boolean fullDetails)
- Specified by:
toString
in interfaceUnfiltered
-
toString
public java.lang.String toString(TableMetadata metadata, boolean includeClusteringKeys, boolean fullDetails)
- Specified by:
toString
in interfaceUnfiltered
-
-