public class LocalByPartionerType extends AbstractType<java.nio.ByteBuffer>
reverseComparator| Constructor and Description |
|---|
LocalByPartionerType(IPartitioner 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) |
Term |
fromJSONObject(java.lang.Object parsed)
Given a parsed JSON string, return a byte representation of the object.
|
java.nio.ByteBuffer |
fromString(java.lang.String source)
get a byte representation of the given string.
|
static LocalByPartionerType |
getInstance(TypeParser parser) |
TypeSerializer<java.nio.ByteBuffer> |
getSerializer() |
java.lang.String |
getString(java.nio.ByteBuffer bytes)
get a string representation of the bytes suitable for log messages
|
java.lang.String |
toJSONString(java.nio.ByteBuffer buffer,
int protocolVersion)
Converts a value to a JSON string.
|
void |
validate(java.nio.ByteBuffer bytes) |
asCQL3Type, asCQLTypeStringList, compareCollectionMembers, compareForCQL, componentsCount, freeze, getComponents, getString, isByteOrderComparable, isCollection, isCompatibleWith, isCounter, isEmptyValueMeaningless, isFrozenCollection, isMultiCell, isValueCompatibleWith, isValueCompatibleWithInternal, parseDefaultParameters, readValue, skipValue, toString, toString, validateCellValue, validateCollectionMember, valueLengthIfFixed, writeValue, writtenLengthpublic LocalByPartionerType(IPartitioner partitioner)
public static LocalByPartionerType getInstance(TypeParser parser)
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 Term fromJSONObject(java.lang.Object parsed)
AbstractTypefromJSONObject in class AbstractType<java.nio.ByteBuffer>parsed - the result of parsing a json stringpublic java.lang.String toJSONString(java.nio.ByteBuffer buffer,
int protocolVersion)
AbstractTypetoJSONString 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