public class SimpleSparseCellName extends AbstractComposite implements CellName
Composite.EOC
Modifier and Type | Method and Description |
---|---|
int |
clusteringSize()
The number of clustering components.
|
java.nio.ByteBuffer |
collectionElement()
The value of the collection element, or null if the cell is not part
of a collection (i.e.
|
CellName |
copy(AbstractAllocator allocator) |
ColumnIdentifier |
cql3ColumnName()
The name of the CQL3 column this cell represents.
|
long |
excessHeapSizeExcludingData() |
void |
free(PoolAllocator<?> allocator) |
java.nio.ByteBuffer |
get(int i) |
boolean |
isCollectionCell() |
boolean |
isSameCQL3RowAs(CellName other)
Whether this cell is part of the same CQL3 row as the other cell.
|
int |
size() |
java.nio.ByteBuffer |
toByteBuffer() |
long |
unsharedHeapSize() |
Composite |
withEOC(Composite.EOC newEoc) |
dataSize, end, eoc, equals, hashCode, isEmpty, isPrefixOf, slice, start
public Composite withEOC(Composite.EOC newEoc)
withEOC
in interface Composite
withEOC
in class AbstractComposite
public java.nio.ByteBuffer toByteBuffer()
toByteBuffer
in interface Composite
toByteBuffer
in class AbstractComposite
public int clusteringSize()
CellName
clusteringSize
in interface CellName
public ColumnIdentifier cql3ColumnName()
CellName
cql3ColumnName
in interface CellName
public java.nio.ByteBuffer collectionElement()
CellName
collectionElement
in interface CellName
public boolean isCollectionCell()
isCollectionCell
in interface CellName
public boolean isSameCQL3RowAs(CellName other)
CellName
isSameCQL3RowAs
in interface CellName
public long excessHeapSizeExcludingData()
excessHeapSizeExcludingData
in interface CellName
public long unsharedHeapSize()
unsharedHeapSize
in interface IMeasurableMemory
public CellName copy(AbstractAllocator allocator)
public void free(PoolAllocator<?> allocator)
Copyright © 2014 The Apache Software Foundation