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, startpublic Composite withEOC(Composite.EOC newEoc)
withEOC in interface CompositewithEOC in class AbstractCompositepublic java.nio.ByteBuffer toByteBuffer()
toByteBuffer in interface CompositetoByteBuffer in class AbstractCompositepublic int clusteringSize()
CellNameclusteringSize in interface CellNamepublic ColumnIdentifier cql3ColumnName(CFMetaData metadata)
CellNamecql3ColumnName in interface CellNamepublic java.nio.ByteBuffer collectionElement()
CellNamecollectionElement in interface CellNamepublic boolean isCollectionCell()
isCollectionCell in interface CellNamepublic boolean isSameCQL3RowAs(CellNameType type, CellName other)
CellNameisSameCQL3RowAs in interface CellNamepublic long unsharedHeapSizeExcludingData()
unsharedHeapSizeExcludingData in interface CellNamepublic long unsharedHeapSize()
unsharedHeapSize in interface IMeasurableMemorypublic CellName copy(CFMetaData cfm, AbstractAllocator allocator)
Copyright © 2018 The Apache Software Foundation