public interface CellNameType extends CType
Modifier and Type | Interface and Description |
---|---|
static interface |
CellNameType.Deserializer |
CType.Serializer
Modifier and Type | Method and Description |
---|---|
void |
addCQL3Column(ColumnIdentifier id) |
CellNameType |
addOrUpdateCollection(ColumnIdentifier columnName,
CollectionType newCollection)
Return the new type obtained by adding/updating to the new collection type for the provided column name
to this type.
|
java.util.Comparator<java.lang.Object> |
asymmetricColumnComparator(boolean isRightNative) |
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 does not have any non-frozen collections).
|
java.util.Comparator<Cell> |
columnComparator(boolean isRightNative) |
java.util.Comparator<Cell> |
columnReverseComparator() |
ColumnSerializer |
columnSerializer() |
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.
|
CellName |
create(Composite prefix,
ColumnDefinition column,
java.nio.ByteBuffer collectionElement)
Creates a new collection CellName given a clustering prefix, a CQL3 column 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.
|
Composite |
staticPrefix()
The prefix to use for static columns.
|
boolean |
supportCollections()
Whether or not this type layout support collections.
|
asAbstractType, builder, compare, deletionInfoSerializer, fromByteBuffer, getString, indexComparator, indexReverseComparator, indexSerializer, isCompatibleWith, isCompound, make, rangeTombstoneSerializer, reverseComparator, rowIndexEntrySerializer, serializer, size, sliceQueryFilterSerializer, sliceSerializer, subtype, validate
boolean isDense()
int clusteringPrefixSize()
CBuilder prefixBuilder()
Composite staticPrefix()
boolean hasCollections()
boolean supportCollections()
ColumnToCollectionType collectionType()
CellNameType addOrUpdateCollection(ColumnIdentifier columnName, CollectionType newCollection)
CellNameType setSubtype(int position, AbstractType<?> newType)
setSubtype
in interface CType
CellName rowMarker(Composite prefix)
CellName create(Composite prefix, ColumnDefinition column)
CellName create(Composite prefix, ColumnDefinition column, java.nio.ByteBuffer collectionElement)
CellName makeCellName(java.lang.Object... components)
CellName cellFromByteBuffer(java.nio.ByteBuffer bb)
CQL3Row.Builder CQL3RowBuilder(CFMetaData metadata, 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(boolean isRightNative)
java.util.Comparator<java.lang.Object> asymmetricColumnComparator(boolean isRightNative)
java.util.Comparator<Cell> columnReverseComparator()
java.util.Comparator<OnDiskAtom> onDiskAtomComparator()
ColumnSerializer columnSerializer()
OnDiskAtom.Serializer onDiskAtomSerializer()
IVersionedSerializer<NamesQueryFilter> namesQueryFilterSerializer()
IVersionedSerializer<IDiskAtomFilter> diskAtomFilterSerializer()
Copyright © 2020 The Apache Software Foundation