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>
  • Field Details

    • EMPTY_VALUES_ARRAY

      public static final ByteBuffer[] EMPTY_VALUES_ARRAY
  • Constructor Details

  • Method Details

    • accessor

      public ValueAccessor<ByteBuffer> accessor()
    • getBufferArray

      public ByteBuffer[] getBufferArray()
    • retainable

      public ClusteringPrefix<ByteBuffer> retainable()
      Description copied from interface: ClusteringPrefix
      Return 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.