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, isStatic
dataSize, end, eoc, equals, hashCode, isEmpty, isPrefixOf, slice, start, toByteBuffer, withEOC
protected final ColumnIdentifier columnName
public long unsharedHeapSize()
unsharedHeapSize
in interface IMeasurableMemory
unsharedHeapSize
in class CompoundComposite
public long unsharedHeapSizeExcludingData()
unsharedHeapSizeExcludingData
in interface CellName
unsharedHeapSizeExcludingData
in class CompoundComposite
public int size()
size
in interface Composite
size
in class CompoundComposite
public java.nio.ByteBuffer get(int i)
get
in interface Composite
get
in class CompoundComposite
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 CellName copy(CFMetaData cfm, AbstractAllocator allocator)
Copyright © 2018 The Apache Software Foundation