public interface CellNameType extends CType
Modifier and Type | Interface and Description |
---|---|
static interface |
CellNameType.Deserializer |
CType.Serializer
Modifier and Type | Method and Description |
---|---|
CellNameType |
addCollection(ColumnIdentifier columnName,
CollectionType newCollection)
Return the new type obtained by adding the new collection type for the provided column name
to this type.
|
void |
addCQL3Column(ColumnIdentifier id) |
CellName |
cellFromByteBuffer(java.nio.ByteBuffer bb)
Deserialize a Composite from a ByteBuffer.
|
ISerializer<CellName> |
cellSerializer() |
int |
clusteringPrefixSize()
The number of clustering columns for the table this is the type of.
|
ColumnToCollectionType |
collectionType()
The type of the collections (or null if the type has not collections).
|
java.util.Comparator<Cell> |
columnComparator() |
java.util.Comparator<Cell> |
columnReverseComparator() |
ColumnSerializer |
columnSerializer() |
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.
|
CellName |
create(Composite prefix,
ColumnIdentifier columnName,
java.nio.ByteBuffer collectionElement)
Creates a new collection CellName given a clustering prefix, a CQL3 columnName and the collection element.
|
IVersionedSerializer<IDiskAtomFilter> |
diskAtomFilterSerializer() |
boolean |
hasCollections()
Whether or not there is some collections defined in this type.
|
boolean |
isDense()
Whether or not the cell names for this type are dense.
|
CellName |
makeCellName(java.lang.Object... components)
Convenience method to create cell names given its components.
|
IVersionedSerializer<NamesQueryFilter> |
namesQueryFilterSerializer() |
CellNameType.Deserializer |
newDeserializer(java.io.DataInput in)
Creates a new Deserializer.
|
java.util.Comparator<OnDiskAtom> |
onDiskAtomComparator() |
OnDiskAtom.Serializer |
onDiskAtomSerializer() |
CBuilder |
prefixBuilder()
A builder for the clustering prefix.
|
void |
removeCQL3Column(ColumnIdentifier id) |
CellName |
rowMarker(Composite prefix)
Creates a row marker for the CQL3 having the provided clustering prefix.
|
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.
|
boolean |
supportCollections()
Whether or not this type layout support collections.
|
asAbstractType, builder, deletionInfoSerializer, fromByteBuffer, getString, indexComparator, indexReverseComparator, indexSerializer, isCompatibleWith, isCompound, make, rangeTombstoneSerializer, reverseComparator, rowIndexEntrySerializer, serializer, size, sliceQueryFilterSerializer, sliceSerializer, subtype, validate
boolean isDense()
int clusteringPrefixSize()
CBuilder prefixBuilder()
boolean hasCollections()
boolean supportCollections()
ColumnToCollectionType collectionType()
CellNameType addCollection(ColumnIdentifier columnName, CollectionType newCollection)
CellNameType setSubtype(int position, AbstractType<?> newType)
setSubtype
in interface CType
CellName rowMarker(Composite prefix)
CellName create(Composite prefix, ColumnIdentifier columnName)
CellName create(Composite prefix, ColumnIdentifier columnName, java.nio.ByteBuffer collectionElement)
CellName makeCellName(java.lang.Object... components)
CellName cellFromByteBuffer(java.nio.ByteBuffer bb)
CQL3Row.Builder CQL3RowBuilder(long now)
void addCQL3Column(ColumnIdentifier id)
void removeCQL3Column(ColumnIdentifier id)
CellNameType.Deserializer newDeserializer(java.io.DataInput in)
ISerializer<CellName> cellSerializer()
java.util.Comparator<Cell> columnComparator()
java.util.Comparator<Cell> columnReverseComparator()
java.util.Comparator<OnDiskAtom> onDiskAtomComparator()
ColumnSerializer columnSerializer()
OnDiskAtom.Serializer onDiskAtomSerializer()
IVersionedSerializer<NamesQueryFilter> namesQueryFilterSerializer()
IVersionedSerializer<IDiskAtomFilter> diskAtomFilterSerializer()
Copyright © 2014 The Apache Software Foundation