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, valuesserializer| 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, sizeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbufferAt, dataSize, digest, equals, equals, hashCode, isBottom, isEmpty, isTop, serializeAsPartitionKey, stringAt, toString, validateunsharedHeapSizeprotected 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()
ClusteringPrefixByteBufferUtil.minimalBufferFor(ByteBuffer)),
this will return a copy of the prefix with minimized values, otherwise it returns itself.Copyright © 2009-2020 The Apache Software Foundation