public class BufferClusteringBound extends BufferClusteringBoundOrBoundary implements ClusteringBound<java.nio.ByteBuffer>
ClusteringBoundOrBoundary.Serializer
ClusteringPrefix.Deserializer, ClusteringPrefix.Kind
EMPTY_VALUES_ARRAY
kind, values
BOTTOM, TOP
serializer
Constructor and Description |
---|
BufferClusteringBound(ClusteringPrefix.Kind kind,
java.nio.ByteBuffer[] values) |
Modifier and Type | Method and Description |
---|---|
ClusteringBound<java.nio.ByteBuffer> |
copy(AbstractAllocator allocator) |
static BufferClusteringBound |
create(ClusteringPrefix.Kind kind,
java.nio.ByteBuffer[] values) |
static BufferClusteringBound |
exclusiveEndOf(java.nio.ByteBuffer... values) |
static BufferClusteringBound |
exclusiveStartOf(java.nio.ByteBuffer... values) |
static BufferClusteringBound |
inclusiveEndOf(java.nio.ByteBuffer... values) |
static BufferClusteringBound |
inclusiveStartOf(java.nio.ByteBuffer... values) |
ClusteringBound<java.nio.ByteBuffer> |
invert()
Returns the inverse of the current bound.
|
long |
unsharedHeapSize() |
accessor, getBufferArray, minimize
clustering, equals, get, getRawValues, hashCode, kind, size
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
boundKind, compareTo, create, create, exclusiveEndOf, exclusiveStartOf, inclusiveEndOf, inclusiveStartOf, isEnd, isExclusive, isInclusive, 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
clustering
public BufferClusteringBound(ClusteringPrefix.Kind kind, java.nio.ByteBuffer[] values)
public long unsharedHeapSize()
unsharedHeapSize
in interface IMeasurableMemory
public ClusteringBound<java.nio.ByteBuffer> invert()
ClusteringBoundOrBoundary
This invert both start into end (and vice-versa) and inclusive into exclusive (and vice-versa).
invert
in interface ClusteringBound<java.nio.ByteBuffer>
invert
in interface ClusteringBoundOrBoundary<java.nio.ByteBuffer>
public ClusteringBound<java.nio.ByteBuffer> copy(AbstractAllocator allocator)
copy
in interface ClusteringBound<java.nio.ByteBuffer>
copy
in interface ClusteringBoundOrBoundary<java.nio.ByteBuffer>
public static BufferClusteringBound create(ClusteringPrefix.Kind kind, java.nio.ByteBuffer[] values)
public static BufferClusteringBound inclusiveStartOf(java.nio.ByteBuffer... values)
public static BufferClusteringBound inclusiveEndOf(java.nio.ByteBuffer... values)
public static BufferClusteringBound exclusiveStartOf(java.nio.ByteBuffer... values)
public static BufferClusteringBound exclusiveEndOf(java.nio.ByteBuffer... values)
Copyright © 2009-2022 The Apache Software Foundation