public class SimpleDenseCellName extends SimpleComposite implements CellName
Composite.EOC
element
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.
|
boolean |
isCollectionCell() |
boolean |
isSameCQL3RowAs(CellNameType type,
CellName other)
Whether this cell is part of the same CQL3 row as the other cell.
|
long |
unsharedHeapSize() |
long |
unsharedHeapSizeExcludingData() |
get, size, toByteBuffer, withEOC
dataSize, end, eoc, equals, hashCode, isEmpty, isPrefixOf, isStatic, slice, start
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 unsharedHeapSize()
unsharedHeapSize
in interface IMeasurableMemory
unsharedHeapSize
in class SimpleComposite
public long unsharedHeapSizeExcludingData()
unsharedHeapSizeExcludingData
in interface CellName
public CellName copy(CFMetaData cfm, AbstractAllocator allocator)
Copyright © 2016 The Apache Software Foundation