public abstract class AbstractSimpleCellNameType extends AbstractCellNameType
CellNameType.Deserializer
CType.Serializer
Modifier and Type | Field and Description |
---|---|
protected AbstractType<?> |
type |
isByteOrderComparable
Modifier | Constructor and Description |
---|---|
protected |
AbstractSimpleCellNameType(AbstractType<?> type) |
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 |
compare(Composite c1,
Composite c2) |
protected java.util.Comparator<java.lang.Object> |
getByteOrderAsymmetricColumnComparator(boolean isRightNative) |
protected java.util.Comparator<Cell> |
getByteOrderColumnComparator(boolean isRightNative) |
boolean |
isCompound()
Returns whether this is a "truly-composite" underneath.
|
protected CellName |
makeCellName(java.nio.ByteBuffer[] components) |
CellNameType.Deserializer |
newDeserializer(java.io.DataInput in)
Creates a new Deserializer.
|
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, deletionInfoSerializer, equals, getString, hashCode, indexComparator, indexReverseComparator, isByteOrderComparable, isCompatibleWith, rangeTombstoneSerializer, reverseComparator, serializer, sliceBytes, sliceQueryFilterSerializer, sliceSerializer, toString, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addCQL3Column, clusteringPrefixSize, CQL3RowBuilder, create, isDense, prefixBuilder, removeCQL3Column, setSubtype
deletionInfoSerializer, fromByteBuffer, getString, indexComparator, indexReverseComparator, isCompatibleWith, rangeTombstoneSerializer, reverseComparator, serializer, sliceQueryFilterSerializer, sliceSerializer, validate
protected final AbstractType<?> type
protected AbstractSimpleCellNameType(AbstractType<?> type)
public boolean isCompound()
CType
public int size()
CType
public int compare(Composite c1, Composite c2)
compare
in interface java.util.Comparator<Composite>
compare
in interface CType
compare
in class AbstractCType
protected java.util.Comparator<Cell> getByteOrderColumnComparator(boolean isRightNative)
getByteOrderColumnComparator
in class AbstractCType
protected java.util.Comparator<java.lang.Object> getByteOrderAsymmetricColumnComparator(boolean isRightNative)
getByteOrderAsymmetricColumnComparator
in class AbstractCType
public AbstractType<?> subtype(int i)
CType
protected CellName makeCellName(java.nio.ByteBuffer[] components)
makeCellName
in class AbstractCellNameType
public AbstractType<?> asAbstractType()
CType
public CellNameType.Deserializer newDeserializer(java.io.DataInput in)
CellNameType
Copyright © 2018 The Apache Software Foundation