public abstract class AbstractCompoundCellNameType extends AbstractCellNameType
CellNameType.DeserializerCType.Serializer| Modifier and Type | Field and Description |
|---|---|
protected int |
clusteringSize |
protected CompoundCType |
clusteringType |
protected int |
fullSize |
protected CompoundCType |
fullType |
isByteOrderComparable| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCompoundCellNameType(CompoundCType clusteringType,
CompoundCType fullType) |
| Modifier and Type | Method and Description |
|---|---|
AbstractType<?> |
asAbstractType()
Returns a AbstractType corresponding to this CType for thrift sake.
|
CBuilder |
builder()
A builder of Composite.
|
int |
clusteringPrefixSize()
The number of clustering columns for the table this is the type of.
|
protected abstract Composite |
copyAndMakeWith(java.nio.ByteBuffer[] components,
int size,
Composite.EOC eoc,
boolean isStatic) |
Composite |
fromByteBuffer(java.nio.ByteBuffer bytes)
Deserialize a Composite from a ByteBuffer.
|
boolean |
isCompound()
Returns whether this is a "truly-composite" underneath.
|
protected CellName |
makeCellName(java.nio.ByteBuffer[] components) |
protected abstract Composite |
makeWith(java.nio.ByteBuffer[] components,
int size,
Composite.EOC eoc,
boolean isStatic) |
CellNameType.Deserializer |
newDeserializer(java.io.DataInput in)
Creates a new Deserializer.
|
CBuilder |
prefixBuilder()
A builder for the clustering prefix.
|
int |
size()
The number of subtypes for this CType.
|
AbstractType<?> |
subtype(int i)
Gets a subtype of this CType.
|
addOrUpdateCollection, asymmetricColumnComparator, cellFromByteBuffer, cellSerializer, collectionType, columnComparator, columnReverseComparator, columnSerializer, create, diskAtomFilterSerializer, hasCollections, make, makeCellName, makeDenseCQL3RowBuilder, makeSparseCQL3RowBuilder, namesQueryFilterSerializer, onDiskAtomComparator, onDiskAtomSerializer, rowMarker, staticPrefix, supportCollectionscheckRemaining, compare, deletionInfoSerializer, equals, getByteOrderAsymmetricColumnComparator, getByteOrderColumnComparator, getString, hashCode, indexComparator, indexReverseComparator, isByteOrderComparable, isCompatibleWith, rangeTombstoneSerializer, reverseComparator, serializer, sliceBytes, sliceQueryFilterSerializer, sliceSerializer, toString, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddCQL3Column, CQL3RowBuilder, create, isDense, removeCQL3Column, setSubtypecompare, deletionInfoSerializer, getString, indexComparator, indexReverseComparator, isCompatibleWith, rangeTombstoneSerializer, reverseComparator, serializer, sliceQueryFilterSerializer, sliceSerializer, validateprotected final CompoundCType clusteringType
protected final CompoundCType fullType
protected final int clusteringSize
protected final int fullSize
protected AbstractCompoundCellNameType(CompoundCType clusteringType, CompoundCType fullType)
public int clusteringPrefixSize()
CellNameTypepublic boolean isCompound()
CTypepublic int size()
CTypepublic AbstractType<?> subtype(int i)
CTypepublic CBuilder prefixBuilder()
CellNameTypepublic Composite fromByteBuffer(java.nio.ByteBuffer bytes)
CTypepublic AbstractType<?> asAbstractType()
CTypepublic CellNameType.Deserializer newDeserializer(java.io.DataInput in)
CellNameTypeprotected CellName makeCellName(java.nio.ByteBuffer[] components)
makeCellName in class AbstractCellNameTypeprotected abstract Composite makeWith(java.nio.ByteBuffer[] components, int size, Composite.EOC eoc, boolean isStatic)
protected abstract Composite copyAndMakeWith(java.nio.ByteBuffer[] components, int size, Composite.EOC eoc, boolean isStatic)
Copyright © 2018 The Apache Software Foundation