public class RangeTombstoneBoundaryMarker extends AbstractRangeTombstoneMarker<ClusteringBoundary<?>>
RangeTombstoneMarker.Merger
Unfiltered.Kind
bound
Constructor and Description |
---|
RangeTombstoneBoundaryMarker(ClusteringBoundary<?> bound,
DeletionTime endDeletion,
DeletionTime startDeletion) |
Modifier and Type | Method and Description |
---|---|
RangeTombstoneBoundaryMarker |
clone(ByteBufferCloner cloner) |
ClusteringBound<?> |
closeBound(boolean reversed) |
DeletionTime |
closeDeletionTime(boolean reversed) |
boolean |
closeIsInclusive(boolean reversed) |
RangeTombstoneBoundMarker |
createCorrespondingCloseMarker(boolean reversed) |
RangeTombstoneBoundMarker |
createCorrespondingOpenMarker(boolean reversed) |
void |
digest(Digest digest)
Digest the atom using the provided
Digest . |
DeletionTime |
endDeletionTime()
The deletion time for the range tombstone this boundary ends (in clustering order).
|
boolean |
equals(java.lang.Object other) |
static <V> RangeTombstoneBoundaryMarker |
exclusiveCloseInclusiveOpen(boolean reversed,
ClusteringPrefix<V> from,
DeletionTime closeDeletion,
DeletionTime openDeletion) |
static <V> RangeTombstoneBoundaryMarker |
exclusiveCloseInclusiveOpen(boolean reversed,
V[] boundValues,
ValueAccessor<V> accessor,
DeletionTime closeDeletion,
DeletionTime openDeletion) |
int |
hashCode() |
boolean |
hasInvalidDeletions()
Do a quick validation of the deletions of the unfiltered (if any)
|
static <V> RangeTombstoneBoundaryMarker |
inclusiveCloseExclusiveOpen(boolean reversed,
ClusteringPrefix<V> from,
DeletionTime closeDeletion,
DeletionTime openDeletion) |
static <V> RangeTombstoneBoundaryMarker |
inclusiveCloseExclusiveOpen(boolean reversed,
V[] boundValues,
ValueAccessor<V> accessor,
DeletionTime closeDeletion,
DeletionTime openDeletion) |
boolean |
isClose(boolean reversed) |
boolean |
isOpen(boolean reversed) |
static <V1,V2> RangeTombstoneBoundaryMarker |
makeBoundary(boolean reversed,
ClusteringBound<V1> close,
ClusteringBound<V2> open,
DeletionTime closeDeletion,
DeletionTime openDeletion) |
ClusteringBound<?> |
openBound(boolean reversed) |
DeletionTime |
openDeletionTime(boolean reversed) |
boolean |
openIsInclusive(boolean reversed) |
DeletionTime |
startDeletionTime()
The deletion time for the range tombstone this boundary starts (in clustering order).
|
java.lang.String |
toString(TableMetadata metadata) |
RangeTombstoneBoundaryMarker |
withNewOpeningDeletionTime(boolean reversed,
DeletionTime newDeletionTime) |
clustering, isBoundary, kind, toString, toString, validateData
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isEmpty
isRangeTombstoneMarker, isRow
public RangeTombstoneBoundaryMarker(ClusteringBoundary<?> bound, DeletionTime endDeletion, DeletionTime startDeletion)
public static <V> RangeTombstoneBoundaryMarker exclusiveCloseInclusiveOpen(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime closeDeletion, DeletionTime openDeletion)
public static <V> RangeTombstoneBoundaryMarker exclusiveCloseInclusiveOpen(boolean reversed, ClusteringPrefix<V> from, DeletionTime closeDeletion, DeletionTime openDeletion)
public static <V> RangeTombstoneBoundaryMarker inclusiveCloseExclusiveOpen(boolean reversed, V[] boundValues, ValueAccessor<V> accessor, DeletionTime closeDeletion, DeletionTime openDeletion)
public static <V> RangeTombstoneBoundaryMarker inclusiveCloseExclusiveOpen(boolean reversed, ClusteringPrefix<V> from, DeletionTime closeDeletion, DeletionTime openDeletion)
public DeletionTime endDeletionTime()
public DeletionTime startDeletionTime()
public DeletionTime closeDeletionTime(boolean reversed)
public DeletionTime openDeletionTime(boolean reversed)
public boolean openIsInclusive(boolean reversed)
public ClusteringBound<?> openBound(boolean reversed)
public ClusteringBound<?> closeBound(boolean reversed)
public boolean closeIsInclusive(boolean reversed)
public boolean isOpen(boolean reversed)
isOpen
in interface RangeTombstoneMarker
isOpen
in class AbstractRangeTombstoneMarker<ClusteringBoundary<?>>
public boolean isClose(boolean reversed)
isClose
in interface RangeTombstoneMarker
isClose
in class AbstractRangeTombstoneMarker<ClusteringBoundary<?>>
public boolean hasInvalidDeletions()
Unfiltered
public RangeTombstoneBoundaryMarker clone(ByteBufferCloner cloner)
public RangeTombstoneBoundaryMarker withNewOpeningDeletionTime(boolean reversed, DeletionTime newDeletionTime)
public static <V1,V2> RangeTombstoneBoundaryMarker makeBoundary(boolean reversed, ClusteringBound<V1> close, ClusteringBound<V2> open, DeletionTime closeDeletion, DeletionTime openDeletion)
public RangeTombstoneBoundMarker createCorrespondingCloseMarker(boolean reversed)
public RangeTombstoneBoundMarker createCorrespondingOpenMarker(boolean reversed)
public void digest(Digest digest)
Unfiltered
Digest
.digest
- the Digest
to use.public java.lang.String toString(TableMetadata metadata)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2009- The Apache Software Foundation