public final class IntegerType extends AbstractType<java.math.BigInteger>
Modifier and Type | Field and Description |
---|---|
static IntegerType |
instance |
columnComparator, columnReverseComparator, indexComparator, indexReverseComparator, onDiskAtomComparator, reverseComparator
Modifier and Type | Method and Description |
---|---|
CQL3Type |
asCQL3Type() |
int |
compare(java.nio.ByteBuffer lhs,
java.nio.ByteBuffer rhs) |
java.math.BigInteger |
compose(java.nio.ByteBuffer bytes) |
java.nio.ByteBuffer |
decompose(java.math.BigInteger 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, parseDefaultParameters, toString, validateCollectionMember
public static final IntegerType instance
public java.math.BigInteger compose(java.nio.ByteBuffer bytes)
compose
in class AbstractType<java.math.BigInteger>
public java.nio.ByteBuffer decompose(java.math.BigInteger value)
decompose
in class AbstractType<java.math.BigInteger>
public int compare(java.nio.ByteBuffer lhs, java.nio.ByteBuffer rhs)
public java.lang.String getString(java.nio.ByteBuffer bytes)
AbstractType
getString
in class AbstractType<java.math.BigInteger>
public java.nio.ByteBuffer fromString(java.lang.String source) throws MarshalException
AbstractType
fromString
in class AbstractType<java.math.BigInteger>
MarshalException
public void validate(java.nio.ByteBuffer bytes) throws MarshalException
validate
in class AbstractType<java.math.BigInteger>
MarshalException
public CQL3Type asCQL3Type()
asCQL3Type
in class AbstractType<java.math.BigInteger>
Copyright © 2013 The Apache Software Foundation