public class ArrayClusteringBound extends ArrayClusteringBoundOrBoundary implements ClusteringBound<byte[]>
ClusteringBoundOrBoundary.Serializer
ClusteringPrefix.Deserializer, ClusteringPrefix.Kind
EMPTY_VALUES_ARRAY
kind, values
BOTTOM, TOP
serializer
Constructor and Description |
---|
ArrayClusteringBound(ClusteringPrefix.Kind kind,
byte[][] values) |
Modifier and Type | Method and Description |
---|---|
ClusteringBound<java.nio.ByteBuffer> |
copy(AbstractAllocator allocator) |
static ArrayClusteringBound |
create(ClusteringPrefix.Kind kind,
byte[][] values) |
ClusteringBound<byte[]> |
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 ArrayClusteringBound(ClusteringPrefix.Kind kind, byte[][] values)
public long unsharedHeapSize()
unsharedHeapSize
in interface IMeasurableMemory
public ClusteringBound<byte[]> invert()
ClusteringBoundOrBoundary
This invert both start into end (and vice-versa) and inclusive into exclusive (and vice-versa).
invert
in interface ClusteringBound<byte[]>
invert
in interface ClusteringBoundOrBoundary<byte[]>
public ClusteringBound<java.nio.ByteBuffer> copy(AbstractAllocator allocator)
copy
in interface ClusteringBound<byte[]>
copy
in interface ClusteringBoundOrBoundary<byte[]>
public static ArrayClusteringBound create(ClusteringPrefix.Kind kind, byte[][] values)
Copyright © 2009-2021 The Apache Software Foundation