public class LocalByPartionerType<T extends Token> extends AbstractType<java.nio.ByteBuffer>
columnComparator, columnReverseComparator, indexComparator, indexReverseComparator, onDiskAtomComparator, reverseComparator| Constructor and Description |
|---|
LocalByPartionerType(IPartitioner<T> partitioner) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.nio.ByteBuffer o1,
java.nio.ByteBuffer o2) |
java.nio.ByteBuffer |
compose(java.nio.ByteBuffer bytes) |
java.nio.ByteBuffer |
decompose(java.nio.ByteBuffer bytes) |
java.nio.ByteBuffer |
fromString(java.lang.String source)
get a byte representation of the given string.
|
TypeSerializer<java.nio.ByteBuffer> |
getSerializer() |
java.lang.String |
getString(java.nio.ByteBuffer bytes)
get a string representation of the bytes suitable for log messages
|
void |
validate(java.nio.ByteBuffer bytes) |
asCQL3Type, compareCollectionMembers, componentsCount, fromStringCQL2, getColumnsString, getComponents, getReverseComparator, getString, intersects, intersects, isCollection, isCommutative, isCompatibleWith, isValueCompatibleWith, isValueCompatibleWithInternal, parseDefaultParameters, toString, validateCollectionMemberpublic LocalByPartionerType(IPartitioner<T> partitioner)
public java.nio.ByteBuffer compose(java.nio.ByteBuffer bytes)
compose in class AbstractType<java.nio.ByteBuffer>public java.nio.ByteBuffer decompose(java.nio.ByteBuffer bytes)
decompose in class AbstractType<java.nio.ByteBuffer>public java.lang.String getString(java.nio.ByteBuffer bytes)
AbstractTypegetString in class AbstractType<java.nio.ByteBuffer>public java.nio.ByteBuffer fromString(java.lang.String source)
AbstractTypefromString in class AbstractType<java.nio.ByteBuffer>public int compare(java.nio.ByteBuffer o1,
java.nio.ByteBuffer o2)
public void validate(java.nio.ByteBuffer bytes)
throws MarshalException
validate in class AbstractType<java.nio.ByteBuffer>MarshalExceptionpublic TypeSerializer<java.nio.ByteBuffer> getSerializer()
getSerializer in class AbstractType<java.nio.ByteBuffer>Copyright © 2015 The Apache Software Foundation