public class UUIDType extends AbstractType<java.util.UUID>
| Modifier and Type | Field and Description |
|---|---|
static UUIDType |
instance |
reverseComparator| Modifier and Type | Method and Description |
|---|---|
CQL3Type |
asCQL3Type() |
int |
compare(java.nio.ByteBuffer b1,
java.nio.ByteBuffer b2) |
java.nio.ByteBuffer |
fromString(java.lang.String source)
get a byte representation of the given string.
|
TypeSerializer<java.util.UUID> |
getSerializer() |
boolean |
isValueCompatibleWithInternal(AbstractType<?> otherType)
Needed to handle ReversedType in value-compatibility checks.
|
compareCollectionMembers, componentsCount, compose, decompose, freeze, fromStringCQL2, getComponents, getString, getString, isByteOrderComparable, isCollection, isCompatibleWith, isCounter, isMultiCell, isValueCompatibleWith, parseDefaultParameters, references, toString, toString, validate, validateCellValue, validateCollectionMemberpublic static final UUIDType instance
public int compare(java.nio.ByteBuffer b1,
java.nio.ByteBuffer b2)
public java.nio.ByteBuffer fromString(java.lang.String source)
throws MarshalException
AbstractTypefromString in class AbstractType<java.util.UUID>MarshalExceptionpublic boolean isValueCompatibleWithInternal(AbstractType<?> otherType)
AbstractTypeisValueCompatibleWithInternal in class AbstractType<java.util.UUID>public CQL3Type asCQL3Type()
asCQL3Type in class AbstractType<java.util.UUID>public TypeSerializer<java.util.UUID> getSerializer()
getSerializer in class AbstractType<java.util.UUID>Copyright © 2015 The Apache Software Foundation