public abstract class AbstractCType extends java.lang.Object implements CType
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isByteOrderComparable |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCType(boolean isByteOrderComparable) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkRemaining(java.nio.ByteBuffer bb,
int offs,
int length) |
int |
compare(Composite c1,
Composite c2) |
DeletionInfo.Serializer |
deletionInfoSerializer() |
boolean |
equals(java.lang.Object o) |
protected java.util.Comparator<java.lang.Object> |
getByteOrderAsymmetricColumnComparator(boolean isRightNative) |
protected java.util.Comparator<Cell> |
getByteOrderColumnComparator(boolean isRightNative) |
java.lang.String |
getString(Composite c)
Converts a composite to a user-readable string.
|
int |
hashCode() |
java.util.Comparator<IndexHelper.IndexInfo> |
indexComparator() |
java.util.Comparator<IndexHelper.IndexInfo> |
indexReverseComparator() |
protected static boolean |
isByteOrderComparable(java.lang.Iterable<AbstractType<?>> types) |
boolean |
isCompatibleWith(CType previous)
See AbstractType#isCompatibleWith.
|
Composite |
make(java.lang.Object... components)
Convenience method to build composites from their component.
|
RangeTombstone.Serializer |
rangeTombstoneSerializer() |
java.util.Comparator<Composite> |
reverseComparator() |
CType.Serializer |
serializer() |
protected static java.nio.ByteBuffer |
sliceBytes(java.nio.ByteBuffer bb,
int offs,
int length) |
IVersionedSerializer<SliceQueryFilter> |
sliceQueryFilterSerializer() |
IVersionedSerializer<ColumnSlice> |
sliceSerializer() |
java.lang.String |
toString() |
void |
validate(Composite name)
Validates a composite.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitasAbstractType, builder, fromByteBuffer, isCompound, setSubtype, size, subtypeprotected static boolean isByteOrderComparable(java.lang.Iterable<AbstractType<?>> types)
protected java.util.Comparator<Cell> getByteOrderColumnComparator(boolean isRightNative)
protected java.util.Comparator<java.lang.Object> getByteOrderAsymmetricColumnComparator(boolean isRightNative)
public void validate(Composite name)
CTypepublic boolean isCompatibleWith(CType previous)
CTypeisCompatibleWith in interface CTypepublic java.lang.String getString(Composite c)
CTypepublic Composite make(java.lang.Object... components)
CTypepublic CType.Serializer serializer()
serializer in interface CTypepublic java.util.Comparator<Composite> reverseComparator()
reverseComparator in interface CTypepublic java.util.Comparator<IndexHelper.IndexInfo> indexComparator()
indexComparator in interface CTypepublic java.util.Comparator<IndexHelper.IndexInfo> indexReverseComparator()
indexReverseComparator in interface CTypepublic IVersionedSerializer<ColumnSlice> sliceSerializer()
sliceSerializer in interface CTypepublic IVersionedSerializer<SliceQueryFilter> sliceQueryFilterSerializer()
sliceQueryFilterSerializer in interface CTypepublic DeletionInfo.Serializer deletionInfoSerializer()
deletionInfoSerializer in interface CTypepublic RangeTombstone.Serializer rangeTombstoneSerializer()
rangeTombstoneSerializer in interface CTypepublic boolean equals(java.lang.Object o)
equals in interface java.util.Comparator<Composite>equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectprotected static java.nio.ByteBuffer sliceBytes(java.nio.ByteBuffer bb,
int offs,
int length)
protected static void checkRemaining(java.nio.ByteBuffer bb,
int offs,
int length)
Copyright © 2018 The Apache Software Foundation