public class SimpleDenseCellNameType extends AbstractSimpleCellNameType
CellNameType.Deserializer
CType.Serializer
type
Constructor and Description |
---|
SimpleDenseCellNameType(AbstractType<?> type) |
Modifier and Type | Method and Description |
---|---|
void |
addCQL3Column(ColumnIdentifier id) |
int |
clusteringPrefixSize()
The number of clustering columns for the table this is the type of.
|
CQL3Row.Builder |
CQL3RowBuilder(long now)
Creates a new CQL3Row builder for this type.
|
CellName |
create(Composite prefix,
ColumnIdentifier columnName)
Creates a new CellName given a clustering prefix and a CQL3 columnName.
|
Composite |
fromByteBuffer(java.nio.ByteBuffer bb)
Deserialize a Composite from a ByteBuffer.
|
boolean |
isDense()
Whether or not the cell names for this type are dense.
|
CBuilder |
prefixBuilder()
A builder for the clustering prefix.
|
void |
removeCQL3Column(ColumnIdentifier id) |
CellNameType |
setSubtype(int position,
AbstractType<?> newType)
Returns a new CellNameType that is equivalent to this one but with one
of the subtype replaced by the provided new type.
|
asAbstractType, builder, isCompound, makeCellName, newDeserializer, size, subtype
addCollection, cellFromByteBuffer, cellSerializer, collectionType, columnComparator, columnReverseComparator, columnSerializer, create, diskAtomFilterSerializer, hasCollections, make, makeCellName, makeDenseCQL3RowBuilder, makeSparseCQL3RowBuilder, namesQueryFilterSerializer, onDiskAtomComparator, onDiskAtomSerializer, rowMarker, supportCollections
checkRemaining, compare, deletionInfoSerializer, equals, getString, hashCode, indexComparator, indexReverseComparator, indexSerializer, isCompatibleWith, rangeTombstoneSerializer, reverseComparator, rowIndexEntrySerializer, serializer, sliceBytes, sliceQueryFilterSerializer, sliceSerializer, toString, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
deletionInfoSerializer, getString, indexComparator, indexReverseComparator, indexSerializer, isCompatibleWith, rangeTombstoneSerializer, reverseComparator, rowIndexEntrySerializer, serializer, sliceQueryFilterSerializer, sliceSerializer, validate
public SimpleDenseCellNameType(AbstractType<?> type)
public int clusteringPrefixSize()
CellNameType
public CBuilder prefixBuilder()
CellNameType
public CellNameType setSubtype(int position, AbstractType<?> newType)
CellNameType
public boolean isDense()
CellNameType
public CellName create(Composite prefix, ColumnIdentifier columnName)
CellNameType
public Composite fromByteBuffer(java.nio.ByteBuffer bb)
CType
public void addCQL3Column(ColumnIdentifier id)
public void removeCQL3Column(ColumnIdentifier id)
public CQL3Row.Builder CQL3RowBuilder(long now)
CellNameType
Copyright © 2014 The Apache Software Foundation