public class LexicalUUIDType extends AbstractType<java.util.UUID>
| Modifier and Type | Field and Description |
|---|---|
static LexicalUUIDType |
instance |
columnComparator, columnReverseComparator, indexComparator, indexReverseComparator, onDiskAtomComparator, reverseComparator| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.nio.ByteBuffer o1,
java.nio.ByteBuffer o2) |
java.util.UUID |
compose(java.nio.ByteBuffer bytes) |
java.nio.ByteBuffer |
decompose(java.util.UUID value) |
java.nio.ByteBuffer |
fromString(java.lang.String source)
get a byte representation of the given string.
|
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, fromStringCQL2, getColumnsString, getReverseComparator, getString, isCollection, isCommutative, isCompatibleWith, isValueCompatibleWith, parseDefaultParameters, toString, validateCollectionMemberpublic static final LexicalUUIDType instance
public java.util.UUID compose(java.nio.ByteBuffer bytes)
compose in class AbstractType<java.util.UUID>public java.nio.ByteBuffer decompose(java.util.UUID value)
decompose in class AbstractType<java.util.UUID>public int compare(java.nio.ByteBuffer o1,
java.nio.ByteBuffer o2)
public java.lang.String getString(java.nio.ByteBuffer bytes)
AbstractTypegetString in class AbstractType<java.util.UUID>public java.nio.ByteBuffer fromString(java.lang.String source)
throws MarshalException
AbstractTypefromString in class AbstractType<java.util.UUID>MarshalExceptionpublic void validate(java.nio.ByteBuffer bytes)
throws MarshalException
validate in class AbstractType<java.util.UUID>MarshalExceptionCopyright © 2014 The Apache Software Foundation