Package org.apache.cassandra.db
Class AbstractBufferClusteringPrefix
java.lang.Object
org.apache.cassandra.db.AbstractOnHeapClusteringPrefix<ByteBuffer>
org.apache.cassandra.db.AbstractBufferClusteringPrefix
- All Implemented Interfaces:
IMeasurableMemory,Clusterable<ByteBuffer>,ClusteringPrefix<ByteBuffer>
- Direct Known Subclasses:
BufferClustering,BufferClusteringBoundOrBoundary
public abstract class AbstractBufferClusteringPrefix
extends AbstractOnHeapClusteringPrefix<ByteBuffer>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.cassandra.db.ClusteringPrefix
ClusteringPrefix.Deserializer, ClusteringPrefix.Kind, ClusteringPrefix.Serializer -
Field Summary
FieldsFields inherited from class org.apache.cassandra.db.AbstractOnHeapClusteringPrefix
kind, valuesFields inherited from interface org.apache.cassandra.db.ClusteringPrefix
serializer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractBufferClusteringPrefix(ClusteringPrefix.Kind kind, ByteBuffer[] values) -
Method Summary
Modifier and TypeMethodDescriptionaccessor()Return the key in a form that can be retained for longer-term use.Methods 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.ClusteringPrefix
asEndBound, asStartBound, bufferAt, clusteringString, dataSize, digest, isBottom, isEmpty, isTop, serializeAsPartitionKey, stringAt, toString, validate, validateMethods inherited from interface org.apache.cassandra.cache.IMeasurableMemory
unsharedHeapSize
-
Field Details
-
EMPTY_VALUES_ARRAY
-
-
Constructor Details
-
AbstractBufferClusteringPrefix
-
-
Method Details
-
accessor
-
getBufferArray
-
retainable
Description copied from interface:ClusteringPrefixReturn the key in a form that can be retained for longer-term use. This means extracting keys stored in shared memory (i.e. in memtables) to minimized on-heap versions. If the object is already in minimal form, no action will be taken.
-