Package org.apache.cassandra.db
Class BufferClustering
java.lang.Object
org.apache.cassandra.db.AbstractOnHeapClusteringPrefix<ByteBuffer>
org.apache.cassandra.db.AbstractBufferClusteringPrefix
org.apache.cassandra.db.BufferClustering
- All Implemented Interfaces:
IMeasurableMemory,Clusterable<ByteBuffer>,Clustering<ByteBuffer>,ClusteringPrefix<ByteBuffer>
public class BufferClustering
extends AbstractBufferClusteringPrefix
implements Clustering<ByteBuffer>
The clustering column values for a row.
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).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.db.Clustering
Clustering.SerializerNested classes/interfaces inherited from interface org.apache.cassandra.db.ClusteringPrefix
ClusteringPrefix.Deserializer, ClusteringPrefix.Kind, ClusteringPrefix.Serializer -
Field Summary
Fields inherited from class org.apache.cassandra.db.AbstractBufferClusteringPrefix
EMPTY_VALUES_ARRAYFields inherited from class org.apache.cassandra.db.AbstractOnHeapClusteringPrefix
kind, valuesFields inherited from interface org.apache.cassandra.db.Clustering
EMPTY, serializer, STATIC_CLUSTERINGFields inherited from interface org.apache.cassandra.db.ClusteringPrefix
serializer -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.cassandra.db.AbstractBufferClusteringPrefix
accessor, getBufferArray, retainableMethods inherited from class org.apache.cassandra.db.AbstractOnHeapClusteringPrefix
clustering, equals, get, getRawValues, hashCode, kind, sizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.db.Clusterable
clusteringMethods inherited from interface org.apache.cassandra.db.Clustering
asEndBound, asStartBound, clone, toCQLString, toStringMethods inherited from interface org.apache.cassandra.db.ClusteringPrefix
accessor, bufferAt, clusteringString, dataSize, digest, get, getBufferArray, getRawValues, isBottom, isEmpty, isTop, kind, retainable, serializeAsPartitionKey, size, stringAt, validate, validate
-
Constructor Details
-
BufferClustering
-
-
Method Details
-
make