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(CFMetaData cfm,
AbstractAllocator allocator) |
ColumnIdentifier |
cql3ColumnName(CFMetaData metadata)
The name of the CQL3 column this cell represents.
|
java.nio.ByteBuffer |
get(int i) |
boolean |
isCollectionCell() |
boolean |
isSameCQL3RowAs(CellNameType type,
CellName other)
Whether this cell is part of the same CQL3 row as the other cell.
|
int |
size() |
java.nio.ByteBuffer |
toByteBuffer() |
long |
unsharedHeapSize() |
long |
unsharedHeapSizeExcludingData() |
Composite |
withEOC(Composite.EOC newEoc) |
dataSize, end, eoc, equals, hashCode, isEmpty, isPrefixOf, isStatic, 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(CFMetaData metadata)
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(CellNameType type, CellName other)
CellName
isSameCQL3RowAs
in interface CellName
public long unsharedHeapSizeExcludingData()
unsharedHeapSizeExcludingData
in interface CellName
public long unsharedHeapSize()
unsharedHeapSize
in interface IMeasurableMemory
public CellName copy(CFMetaData cfm, AbstractAllocator allocator)
Copyright © 2014 The Apache Software Foundation