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, wait
asAbstractType, builder, fromByteBuffer, isCompound, setSubtype, size, subtype
protected 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)
CType
public boolean isCompatibleWith(CType previous)
CType
isCompatibleWith
in interface CType
public java.lang.String getString(Composite c)
CType
public Composite make(java.lang.Object... components)
CType
public CType.Serializer serializer()
serializer
in interface CType
public java.util.Comparator<Composite> reverseComparator()
reverseComparator
in interface CType
public java.util.Comparator<IndexHelper.IndexInfo> indexComparator()
indexComparator
in interface CType
public java.util.Comparator<IndexHelper.IndexInfo> indexReverseComparator()
indexReverseComparator
in interface CType
public IVersionedSerializer<ColumnSlice> sliceSerializer()
sliceSerializer
in interface CType
public IVersionedSerializer<SliceQueryFilter> sliceQueryFilterSerializer()
sliceQueryFilterSerializer
in interface CType
public DeletionInfo.Serializer deletionInfoSerializer()
deletionInfoSerializer
in interface CType
public RangeTombstone.Serializer rangeTombstoneSerializer()
rangeTombstoneSerializer
in interface CType
public boolean equals(java.lang.Object o)
equals
in interface java.util.Comparator<Composite>
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
protected 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 © 2020 The Apache Software Foundation