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 interface
CellPath.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 CellPath
clone(ByteBufferCloner cloner)
static CellPath
create(java.nio.ByteBuffer value)
int
dataSize()
void
digest(Digest digest)
boolean
equals(java.lang.Object o)
abstract java.nio.ByteBuffer
get(int i)
int
hashCode()
abstract int
size()
abstract long
unsharedHeapSize()
abstract long
unsharedHeapSizeExcludingData()
-
-
-
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:
unsharedHeapSize
in 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:
hashCode
in classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-