Package org.apache.cassandra.db.rows
Class CellPath
- java.lang.Object
-
- org.apache.cassandra.db.rows.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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCellPath.Serializer
-
Constructor Summary
Constructors Constructor Description CellPath()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract CellPathclone(ByteBufferCloner cloner)static CellPathcreate(java.nio.ByteBuffer value)intdataSize()voiddigest(Digest digest)booleanequals(java.lang.Object o)abstract java.nio.ByteBufferget(int i)inthashCode()abstract intsize()abstract longunsharedHeapSize()abstract longunsharedHeapSizeExcludingData()
-
-
-
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)
-
clone
public abstract CellPath clone(ByteBufferCloner cloner)
-
unsharedHeapSizeExcludingData
public abstract long unsharedHeapSizeExcludingData()
-
unsharedHeapSize
public abstract long unsharedHeapSize()
- Specified by:
unsharedHeapSizein interfaceIMeasurableMemory- 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:
hashCodein classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-