public class Int32Type extends AbstractType<java.lang.Integer>
| Modifier and Type | Field and Description |
|---|---|
static Int32Type |
instance |
columnComparator, columnReverseComparator, indexComparator, indexReverseComparator, onDiskAtomComparator, reverseComparator| Modifier and Type | Method and Description |
|---|---|
CQL3Type |
asCQL3Type() |
int |
compare(java.nio.ByteBuffer o1,
java.nio.ByteBuffer o2) |
java.lang.Integer |
compose(java.nio.ByteBuffer bytes) |
java.nio.ByteBuffer |
decompose(java.lang.Integer 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) |
compareCollectionMembers, fromStringCQL2, getColumnsString, getReverseComparator, getString, isCollection, isCommutative, isCompatibleWith, isValueCompatibleWith, parseDefaultParameters, toString, validateCollectionMemberpublic static final Int32Type instance
public java.lang.Integer compose(java.nio.ByteBuffer bytes)
compose in class AbstractType<java.lang.Integer>public java.nio.ByteBuffer decompose(java.lang.Integer value)
decompose in class AbstractType<java.lang.Integer>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.lang.Integer>public java.nio.ByteBuffer fromString(java.lang.String source)
throws MarshalException
AbstractTypefromString in class AbstractType<java.lang.Integer>MarshalExceptionpublic void validate(java.nio.ByteBuffer bytes)
throws MarshalException
validate in class AbstractType<java.lang.Integer>MarshalExceptionpublic CQL3Type asCQL3Type()
asCQL3Type in class AbstractType<java.lang.Integer>Copyright © 2014 The Apache Software Foundation