public abstract class AbstractArrayClusteringPrefix extends AbstractOnHeapClusteringPrefix<byte[]>
ClusteringPrefix.Deserializer, ClusteringPrefix.Kind, ClusteringPrefix.Serializer
Modifier and Type | Field and Description |
---|---|
static byte[][] |
EMPTY_VALUES_ARRAY |
kind, values
serializer
Constructor and Description |
---|
AbstractArrayClusteringPrefix(ClusteringPrefix.Kind kind,
byte[][] values) |
Modifier and Type | Method and Description |
---|---|
ValueAccessor<byte[]> |
accessor() |
java.nio.ByteBuffer[] |
getBufferArray() |
ClusteringPrefix<byte[]> |
minimize()
If the prefix contains byte buffers that can be minimized (see
ByteBufferUtil.minimalBufferFor(ByteBuffer) ),
this will return a copy of the prefix with minimized values, otherwise it returns itself. |
clustering, equals, get, getRawValues, hashCode, kind, size
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
bufferAt, dataSize, digest, equals, equals, hashCode, isBottom, isEmpty, isTop, serializeAsPartitionKey, stringAt, toString, validate
unsharedHeapSize
public AbstractArrayClusteringPrefix(ClusteringPrefix.Kind kind, byte[][] values)
public ValueAccessor<byte[]> accessor()
public java.nio.ByteBuffer[] getBufferArray()
public ClusteringPrefix<byte[]> minimize()
ClusteringPrefix
ByteBufferUtil.minimalBufferFor(ByteBuffer)
),
this will return a copy of the prefix with minimized values, otherwise it returns itself.Copyright © 2009-2021 The Apache Software Foundation