public abstract class AbstractBufferClusteringPrefix extends AbstractOnHeapClusteringPrefix<java.nio.ByteBuffer>
ClusteringPrefix.Deserializer, ClusteringPrefix.Kind, ClusteringPrefix.Serializer
Modifier and Type | Field and Description |
---|---|
static java.nio.ByteBuffer[] |
EMPTY_VALUES_ARRAY |
kind, values
serializer
Modifier | Constructor and Description |
---|---|
protected |
AbstractBufferClusteringPrefix(ClusteringPrefix.Kind kind,
java.nio.ByteBuffer[] values) |
Modifier and Type | Method and Description |
---|---|
ValueAccessor<java.nio.ByteBuffer> |
accessor() |
java.nio.ByteBuffer[] |
getBufferArray() |
ClusteringPrefix<java.nio.ByteBuffer> |
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
protected AbstractBufferClusteringPrefix(ClusteringPrefix.Kind kind, java.nio.ByteBuffer[] values)
public ValueAccessor<java.nio.ByteBuffer> accessor()
public java.nio.ByteBuffer[] getBufferArray()
public ClusteringPrefix<java.nio.ByteBuffer> minimize()
ClusteringPrefix
ByteBufferUtil.minimalBufferFor(ByteBuffer)
),
this will return a copy of the prefix with minimized values, otherwise it returns itself.Copyright © 2009- The Apache Software Foundation