public interface ClusteringBound<V> extends ClusteringBoundOrBoundary<V>
ClusteringBoundOrBoundary.Serializer
ClusteringPrefix.Deserializer, ClusteringPrefix.Kind
Modifier and Type | Field and Description |
---|---|
static ClusteringBound<?> |
BOTTOM
The smallest start bound, i.e.
|
static ClusteringBound<?> |
TOP
The biggest end bound, i.e.
|
serializer
Modifier and Type | Method and Description |
---|---|
static ClusteringPrefix.Kind |
boundKind(boolean isStart,
boolean isInclusive) |
default int |
compareTo(ClusteringComparator comparator,
java.util.List<java.nio.ByteBuffer> sstableBound) |
ClusteringBound<java.nio.ByteBuffer> |
copy(AbstractAllocator allocator) |
static ClusteringBound<?> |
create(ClusteringComparator comparator,
boolean isStart,
boolean isInclusive,
java.lang.Object... values) |
static <V> ClusteringBound<V> |
create(ClusteringPrefix.Kind kind,
ClusteringPrefix<V> from) |
static ClusteringBound<?> |
exclusiveEndOf(ClusteringPrefix<?> from) |
static ClusteringBound<?> |
exclusiveStartOf(ClusteringPrefix<?> from) |
static ClusteringBound<?> |
inclusiveEndOf(ClusteringPrefix<?> from) |
static ClusteringBound<?> |
inclusiveStartOf(ClusteringPrefix<?> from) |
ClusteringBound<V> |
invert()
Returns the inverse of the current bound.
|
default boolean |
isEnd() |
default boolean |
isExclusive() |
default boolean |
isInclusive() |
default boolean |
isStart() |
isBoundary, isClose, isOpen, toString, toString
accessor, bufferAt, dataSize, digest, equals, equals, get, getBufferArray, getRawValues, hashCode, isBottom, isEmpty, isTop, kind, minimize, serializeAsPartitionKey, size, stringAt, validate
unsharedHeapSize
clustering
static final ClusteringBound<?> BOTTOM
static final ClusteringBound<?> TOP
static ClusteringPrefix.Kind boundKind(boolean isStart, boolean isInclusive)
ClusteringBound<V> invert()
ClusteringBoundOrBoundary
This invert both start into end (and vice-versa) and inclusive into exclusive (and vice-versa).
invert
in interface ClusteringBoundOrBoundary<V>
ClusteringBound<java.nio.ByteBuffer> copy(AbstractAllocator allocator)
copy
in interface ClusteringBoundOrBoundary<V>
default boolean isStart()
default boolean isEnd()
default boolean isInclusive()
default boolean isExclusive()
default int compareTo(ClusteringComparator comparator, java.util.List<java.nio.ByteBuffer> sstableBound)
static <V> ClusteringBound<V> create(ClusteringPrefix.Kind kind, ClusteringPrefix<V> from)
static ClusteringBound<?> inclusiveStartOf(ClusteringPrefix<?> from)
static ClusteringBound<?> inclusiveEndOf(ClusteringPrefix<?> from)
static ClusteringBound<?> exclusiveStartOf(ClusteringPrefix<?> from)
static ClusteringBound<?> exclusiveEndOf(ClusteringPrefix<?> from)
static ClusteringBound<?> create(ClusteringComparator comparator, boolean isStart, boolean isInclusive, java.lang.Object... values)
Copyright © 2009-2021 The Apache Software Foundation