public class BufferClusteringBound extends BufferClusteringBoundOrBoundary implements ClusteringBound<java.nio.ByteBuffer>
ClusteringBoundOrBoundary.SerializerClusteringPrefix.Deserializer, ClusteringPrefix.KindEMPTY_VALUES_ARRAYkind, valuesBOTTOM, TOPserializer| 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, minimizeclustering, equals, get, getRawValues, hashCode, kind, sizeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitboundKind, compareTo, create, create, exclusiveEndOf, exclusiveStartOf, inclusiveEndOf, inclusiveStartOf, isEnd, isExclusive, isInclusive, isStartisBoundary, isClose, isOpen, toString, toStringaccessor, bufferAt, dataSize, digest, equals, equals, get, getBufferArray, getRawValues, hashCode, isBottom, isEmpty, isTop, kind, minimize, serializeAsPartitionKey, size, stringAt, validateclusteringpublic BufferClusteringBound(ClusteringPrefix.Kind kind, java.nio.ByteBuffer[] values)
public long unsharedHeapSize()
unsharedHeapSize in interface IMeasurableMemorypublic ClusteringBound<java.nio.ByteBuffer> invert()
ClusteringBoundOrBoundaryThis 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-2020 The Apache Software Foundation