Class CellPath

  • All Implemented Interfaces:
    IMeasurableMemory

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

      • BOTTOM

        public static final CellPath BOTTOM
    • Constructor Detail

      • CellPath

        public CellPath()
    • Method Detail

      • size

        public abstract int size()
      • get

        public abstract java.nio.ByteBuffer get​(int i)
      • create

        public static CellPath create​(java.nio.ByteBuffer value)
      • dataSize

        public int dataSize()
      • digest

        public void digest​(Digest digest)
      • 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 java.lang.Object
      • equals

        public final boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object