public class ArrayClusteringBoundary extends ArrayClusteringBoundOrBoundary implements ClusteringBoundary<byte[]>
ClusteringBoundOrBoundary.SerializerClusteringPrefix.Deserializer, ClusteringPrefix.KindEMPTY_VALUES_ARRAYkind, valuesserializer| Constructor and Description |
|---|
ArrayClusteringBoundary(ClusteringPrefix.Kind kind,
byte[][] values) |
| Modifier and Type | Method and Description |
|---|---|
ClusteringBound<byte[]> |
closeBound(boolean reversed) |
static ClusteringBoundary<byte[]> |
create(ClusteringPrefix.Kind kind,
byte[][] values) |
ClusteringBoundary<byte[]> |
invert()
Returns the inverse of the current bound.
|
ClusteringBound<byte[]> |
openBound(boolean reversed) |
long |
unsharedHeapSize() |
accessor, getBufferArray, minimizeclustering, equals, get, getRawValues, hashCode, kind, sizeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcreatecopy, isBoundary, isClose, isOpen, toString, toStringaccessor, bufferAt, dataSize, digest, equals, equals, get, getBufferArray, getRawValues, hashCode, isBottom, isEmpty, isTop, kind, minimize, serializeAsPartitionKey, size, stringAt, validateclusteringpublic ArrayClusteringBoundary(ClusteringPrefix.Kind kind, byte[][] values)
public long unsharedHeapSize()
unsharedHeapSize in interface IMeasurableMemorypublic static ClusteringBoundary<byte[]> create(ClusteringPrefix.Kind kind, byte[][] values)
public ClusteringBoundary<byte[]> invert()
ClusteringBoundOrBoundaryThis invert both start into end (and vice-versa) and inclusive into exclusive (and vice-versa).
invert in interface ClusteringBoundary<byte[]>invert in interface ClusteringBoundOrBoundary<byte[]>public ClusteringBound<byte[]> openBound(boolean reversed)
openBound in interface ClusteringBoundary<byte[]>public ClusteringBound<byte[]> closeBound(boolean reversed)
closeBound in interface ClusteringBoundary<byte[]>Copyright © 2009-2020 The Apache Software Foundation