public class RangeTombstoneBoundaryMarker extends AbstractRangeTombstoneMarker
RangeTombstoneMarker.Merger
Unfiltered.Kind
bound
Constructor and Description |
---|
RangeTombstoneBoundaryMarker(RangeTombstone.Bound bound,
DeletionTime endDeletion,
DeletionTime startDeletion) |
Modifier and Type | Method and Description |
---|---|
RangeTombstone.Bound |
closeBound(boolean reversed) |
DeletionTime |
closeDeletionTime(boolean reversed) |
boolean |
closeIsInclusive(boolean reversed) |
RangeTombstoneBoundaryMarker |
copy(AbstractAllocator allocator) |
RangeTombstoneBoundMarker |
createCorrespondingCloseMarker(boolean reversed) |
RangeTombstoneBoundMarker |
createCorrespondingOpenMarker(boolean reversed) |
void |
digest(java.security.MessageDigest digest)
Digest the atom using the provided
MessageDigest . |
DeletionTime |
endDeletionTime()
The deletion time for the range tombstone this boundary ends (in clustering order).
|
boolean |
equals(java.lang.Object other) |
static RangeTombstoneBoundaryMarker |
exclusiveCloseInclusiveOpen(boolean reversed,
java.nio.ByteBuffer[] boundValues,
DeletionTime closeDeletion,
DeletionTime openDeletion) |
int |
hashCode() |
static RangeTombstoneBoundaryMarker |
inclusiveCloseExclusiveOpen(boolean reversed,
java.nio.ByteBuffer[] boundValues,
DeletionTime closeDeletion,
DeletionTime openDeletion) |
boolean |
isClose(boolean reversed) |
boolean |
isOpen(boolean reversed) |
static RangeTombstoneBoundaryMarker |
makeBoundary(boolean reversed,
Slice.Bound close,
Slice.Bound open,
DeletionTime closeDeletion,
DeletionTime openDeletion) |
RangeTombstone.Bound |
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(CFMetaData 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(RangeTombstone.Bound bound, DeletionTime endDeletion, DeletionTime startDeletion)
public static RangeTombstoneBoundaryMarker exclusiveCloseInclusiveOpen(boolean reversed, java.nio.ByteBuffer[] boundValues, DeletionTime closeDeletion, DeletionTime openDeletion)
public static RangeTombstoneBoundaryMarker inclusiveCloseExclusiveOpen(boolean reversed, java.nio.ByteBuffer[] boundValues, 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 RangeTombstone.Bound openBound(boolean reversed)
public RangeTombstone.Bound closeBound(boolean reversed)
public boolean closeIsInclusive(boolean reversed)
public boolean isOpen(boolean reversed)
isOpen
in interface RangeTombstoneMarker
isOpen
in class AbstractRangeTombstoneMarker
public boolean isClose(boolean reversed)
isClose
in interface RangeTombstoneMarker
isClose
in class AbstractRangeTombstoneMarker
public RangeTombstoneBoundaryMarker copy(AbstractAllocator allocator)
public RangeTombstoneBoundaryMarker withNewOpeningDeletionTime(boolean reversed, DeletionTime newDeletionTime)
public static RangeTombstoneBoundaryMarker makeBoundary(boolean reversed, Slice.Bound close, Slice.Bound open, DeletionTime closeDeletion, DeletionTime openDeletion)
public RangeTombstoneBoundMarker createCorrespondingCloseMarker(boolean reversed)
public RangeTombstoneBoundMarker createCorrespondingOpenMarker(boolean reversed)
public void digest(java.security.MessageDigest digest)
Unfiltered
MessageDigest
.digest
- the MessageDigest
to use.public java.lang.String toString(CFMetaData metadata)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2021 The Apache Software Foundation