public class CompoundSparseCellName extends CompoundComposite implements CellName
| Modifier and Type | Class and Description |
|---|---|
static class |
CompoundSparseCellName.WithCollection |
Composite.EOC| Modifier and Type | Field and Description |
|---|---|
protected ColumnIdentifier |
columnName |
| 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() |
long |
unsharedHeapSize() |
long |
unsharedHeapSizeExcludingData() |
elementsCopy, isStaticdataSize, end, eoc, equals, hashCode, isEmpty, isPrefixOf, slice, start, toByteBuffer, withEOCprotected final ColumnIdentifier columnName
public long unsharedHeapSize()
unsharedHeapSize in interface IMeasurableMemoryunsharedHeapSize in class CompoundCompositepublic long unsharedHeapSizeExcludingData()
unsharedHeapSizeExcludingData in interface CellNameunsharedHeapSizeExcludingData in class CompoundCompositepublic int size()
size in interface Compositesize in class CompoundCompositepublic java.nio.ByteBuffer get(int i)
get in interface Compositeget in class CompoundCompositepublic 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 CellName copy(CFMetaData cfm, AbstractAllocator allocator)
Copyright © 2018 The Apache Software Foundation