public class ClusteringBound extends ClusteringBoundOrBoundary
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
EMPTY_VALUES_ARRAY, kind, values
Modifier | Constructor and Description |
---|---|
protected |
ClusteringBound(ClusteringPrefix.Kind kind,
java.nio.ByteBuffer[] values) |
Modifier and Type | Method and Description |
---|---|
static ClusteringPrefix.Kind |
boundKind(boolean isStart,
boolean isInclusive) |
ClusteringBound |
copy(AbstractAllocator allocator) |
static ClusteringBound |
create(ClusteringComparator comparator,
boolean isStart,
boolean isInclusive,
java.lang.Object... values) |
static ClusteringBound |
create(ClusteringPrefix.Kind kind,
java.nio.ByteBuffer[] values) |
static ClusteringBound |
exclusiveEndOf(java.nio.ByteBuffer... values) |
static ClusteringBound |
exclusiveStartOf(java.nio.ByteBuffer... values) |
static ClusteringBound |
exclusiveStartOf(ClusteringPrefix prefix) |
static ClusteringBound |
inclusiveEndOf(java.nio.ByteBuffer... values) |
static ClusteringBound |
inclusiveEndOf(ClusteringPrefix prefix) |
static ClusteringBound |
inclusiveStartOf(java.nio.ByteBuffer... values) |
static ClusteringBound |
inclusiveStartOf(ClusteringPrefix prefix) |
ClusteringBound |
invert()
Returns the inverse of the current bound.
|
boolean |
isEnd() |
boolean |
isExclusive() |
boolean |
isInclusive() |
boolean |
isStart() |
exclusiveClose, exclusiveCloseInclusiveOpen, exclusiveOpen, inclusiveClose, inclusiveCloseExclusiveOpen, inclusiveOpen, isBoundary, isClose, isOpen, toString, toString
clustering, get, getRawValues, kind, size, unsharedHeapSize, unsharedHeapSizeExcludingData
dataSize, digest, equals, hashCode
public static final ClusteringBound BOTTOM
public static final ClusteringBound TOP
protected ClusteringBound(ClusteringPrefix.Kind kind, java.nio.ByteBuffer[] values)
public static ClusteringBound create(ClusteringPrefix.Kind kind, java.nio.ByteBuffer[] values)
public static ClusteringPrefix.Kind boundKind(boolean isStart, boolean isInclusive)
public static ClusteringBound inclusiveStartOf(java.nio.ByteBuffer... values)
public static ClusteringBound inclusiveEndOf(java.nio.ByteBuffer... values)
public static ClusteringBound exclusiveStartOf(java.nio.ByteBuffer... values)
public static ClusteringBound exclusiveEndOf(java.nio.ByteBuffer... values)
public static ClusteringBound inclusiveStartOf(ClusteringPrefix prefix)
public static ClusteringBound exclusiveStartOf(ClusteringPrefix prefix)
public static ClusteringBound inclusiveEndOf(ClusteringPrefix prefix)
public static ClusteringBound create(ClusteringComparator comparator, boolean isStart, boolean isInclusive, java.lang.Object... values)
public ClusteringBound invert()
ClusteringBoundOrBoundary
This invert both start into end (and vice-versa) and inclusive into exclusive (and vice-versa).
invert
in class ClusteringBoundOrBoundary
public ClusteringBound copy(AbstractAllocator allocator)
copy
in class ClusteringBoundOrBoundary
public boolean isStart()
public boolean isEnd()
public boolean isInclusive()
public boolean isExclusive()
Copyright © 2017 The Apache Software Foundation