public class SimpleSparseCellNameType extends AbstractSimpleCellNameType
CellNameType.Deserializer
CType.Serializer
type
isByteOrderComparable
Constructor and Description |
---|
SimpleSparseCellNameType(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(CFMetaData metadata,
long now)
Creates a new CQL3Row builder for this type.
|
CellName |
create(Composite prefix,
ColumnDefinition column)
Creates a new CellName given a clustering prefix and a CQL3 column.
|
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, compare, getByteOrderAsymmetricColumnComparator, getByteOrderColumnComparator, isCompound, makeCellName, newDeserializer, size, subtype
addOrUpdateCollection, asymmetricColumnComparator, cellFromByteBuffer, cellSerializer, collectionType, columnComparator, columnReverseComparator, columnSerializer, create, diskAtomFilterSerializer, hasCollections, make, makeCellName, makeDenseCQL3RowBuilder, makeSparseCQL3RowBuilder, namesQueryFilterSerializer, onDiskAtomComparator, onDiskAtomSerializer, rowMarker, staticPrefix, supportCollections
checkRemaining, deletionInfoSerializer, equals, getString, hashCode, indexComparator, indexReverseComparator, indexSerializer, isByteOrderComparable, 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 SimpleSparseCellNameType(AbstractType<?> type)
public int clusteringPrefixSize()
CellNameType
public CellNameType setSubtype(int position, AbstractType<?> newType)
CellNameType
public CBuilder prefixBuilder()
CellNameType
public boolean isDense()
CellNameType
public CellName create(Composite prefix, ColumnDefinition column)
CellNameType
public Composite fromByteBuffer(java.nio.ByteBuffer bb)
CType
public void addCQL3Column(ColumnIdentifier id)
public void removeCQL3Column(ColumnIdentifier id)
public CQL3Row.Builder CQL3RowBuilder(CFMetaData metadata, long now)
CellNameType
Copyright © 2014 The Apache Software Foundation