Class CellPath

java.lang.Object
org.apache.cassandra.db.rows.CellPath
All Implemented Interfaces:
IMeasurableMemory

public abstract class CellPath extends Object implements IMeasurableMemory
A path for a cell belonging to a complex column type (non-frozen collection or UDT).
  • Field Details

    • BOTTOM

      public static final CellPath BOTTOM
    • TOP

      public static final CellPath TOP
  • Constructor Details

    • CellPath

      public CellPath()
  • Method Details

    • size

      public abstract int size()
    • get

      public abstract ByteBuffer get(int i)
    • create

      public static CellPath create(ByteBuffer value)
    • dataSize

      public int dataSize()
    • digest

      public void digest(Digest digest)
    • clone

      public abstract CellPath clone(ByteBufferCloner cloner)
    • unsharedHeapSizeExcludingData

      public abstract long unsharedHeapSizeExcludingData()
    • unsharedHeapSize

      public abstract long unsharedHeapSize()
      Specified by:
      unsharedHeapSize in interface IMeasurableMemory
      Returns:
      the amount of on-heap memory retained by the object that might be reclaimed if the object were reclaimed, i.e. it should try to exclude globally cached data where possible, or counting portions of arrays that are referenced by the object but used by other objects only (e.g. slabbed byte-buffers), etc.
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object