Class AbstractArrayClusteringPrefix

java.lang.Object
org.apache.cassandra.db.AbstractOnHeapClusteringPrefix<byte[]>
org.apache.cassandra.db.AbstractArrayClusteringPrefix
All Implemented Interfaces:
IMeasurableMemory, Clusterable<byte[]>, ClusteringPrefix<byte[]>
Direct Known Subclasses:
ArrayClustering, ArrayClusteringBoundOrBoundary

public abstract class AbstractArrayClusteringPrefix extends AbstractOnHeapClusteringPrefix<byte[]>
  • Field Details

    • EMPTY_VALUES_ARRAY

      public static final byte[][] EMPTY_VALUES_ARRAY
  • Constructor Details

    • AbstractArrayClusteringPrefix

      public AbstractArrayClusteringPrefix(ClusteringPrefix.Kind kind, byte[][] values)
  • Method Details

    • accessor

      public ValueAccessor<byte[]> accessor()
    • getBufferArray

      public ByteBuffer[] getBufferArray()
    • retainable

      public ClusteringPrefix<byte[]> 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.