public abstract class AbstractCompoundCellNameType extends AbstractCellNameType
CellNameType.Deserializer
CType.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/cql2 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, supportCollections
checkRemaining, compare, deletionInfoSerializer, equals, getByteOrderAsymmetricColumnComparator, getByteOrderColumnComparator, getString, hashCode, indexComparator, indexReverseComparator, indexSerializer, isByteOrderComparable, isCompatibleWith, rangeTombstoneSerializer, reverseComparator, rowIndexEntrySerializer, serializer, sliceBytes, sliceQueryFilterSerializer, sliceSerializer, toString, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addCQL3Column, CQL3RowBuilder, create, isDense, removeCQL3Column, setSubtype
compare, deletionInfoSerializer, getString, indexComparator, indexReverseComparator, indexSerializer, isCompatibleWith, rangeTombstoneSerializer, reverseComparator, rowIndexEntrySerializer, serializer, sliceQueryFilterSerializer, sliceSerializer, validate
protected final CompoundCType clusteringType
protected final CompoundCType fullType
protected final int clusteringSize
protected final int fullSize
protected AbstractCompoundCellNameType(CompoundCType clusteringType, CompoundCType fullType)
public int clusteringPrefixSize()
CellNameType
public boolean isCompound()
CType
public int size()
CType
public AbstractType<?> subtype(int i)
CType
public CBuilder prefixBuilder()
CellNameType
public Composite fromByteBuffer(java.nio.ByteBuffer bytes)
CType
public AbstractType<?> asAbstractType()
CType
public CellNameType.Deserializer newDeserializer(java.io.DataInput in)
CellNameType
protected CellName makeCellName(java.nio.ByteBuffer[] components)
makeCellName
in class AbstractCellNameType
protected 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 © 2014 The Apache Software Foundation