public class BufferClustering extends AbstractBufferClusteringPrefix implements Clustering<java.nio.ByteBuffer>
A Clustering is a ClusteringPrefix that must always be "complete", i.e. have
as many values as there is clustering columns in the table it is part of. It is the clustering
prefix used by rows.
Note however that while it's size must be equal to the table clustering size, a clustering can have
null values (this is currently only allowed in COMPACT table for historical reasons, but we
could imagine lifting that limitation if we decide it make sense from a CQL point of view).
Clustering.SerializerClusteringPrefix.Deserializer, ClusteringPrefix.KindEMPTY_VALUES_ARRAYkind, valuesEMPTY, serializer, STATIC_CLUSTERING| Constructor and Description |
|---|
BufferClustering(java.nio.ByteBuffer... values) |
| Modifier and Type | Method and Description |
|---|---|
static BufferClustering |
make(java.nio.ByteBuffer... values) |
long |
unsharedHeapSize() |
long |
unsharedHeapSizeExcludingData() |
accessor, getBufferArray, minimizeclustering, equals, get, getRawValues, hashCode, kind, sizeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitclone, toCQLString, toStringaccessor, bufferAt, dataSize, digest, equals, equals, get, getBufferArray, getRawValues, hashCode, isBottom, isEmpty, isTop, kind, minimize, serializeAsPartitionKey, size, stringAt, validateclusteringpublic long unsharedHeapSize()
unsharedHeapSize in interface IMeasurableMemorypublic long unsharedHeapSizeExcludingData()
unsharedHeapSizeExcludingData in interface Clustering<java.nio.ByteBuffer>public static BufferClustering make(java.nio.ByteBuffer... values)
make in interface Clustering<java.nio.ByteBuffer>Copyright © 2009-2022 The Apache Software Foundation