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.nio.ByteBuffer |
fromString(java.lang.String source)
get a byte representation of the given string.
|
TypeSerializer<java.math.BigInteger> |
getSerializer() |
boolean |
isValueCompatibleWithInternal(AbstractType<?> otherType)
Needed to handle ReversedType in value-compatibility checks.
|
compareCollectionMembers, componentsCount, compose, decompose, fromStringCQL2, getColumnsString, getComponents, getReverseComparator, getString, getString, intersects, intersects, isCollection, isCommutative, isCompatibleWith, isValueCompatibleWith, parseDefaultParameters, toString, validate, validateCollectionMember
public static final IntegerType instance
public int compare(java.nio.ByteBuffer lhs, java.nio.ByteBuffer rhs)
public java.nio.ByteBuffer fromString(java.lang.String source) throws MarshalException
AbstractType
fromString
in class AbstractType<java.math.BigInteger>
MarshalException
public boolean isValueCompatibleWithInternal(AbstractType<?> otherType)
AbstractType
isValueCompatibleWithInternal
in class AbstractType<java.math.BigInteger>
public CQL3Type asCQL3Type()
asCQL3Type
in class AbstractType<java.math.BigInteger>
public TypeSerializer<java.math.BigInteger> getSerializer()
getSerializer
in class AbstractType<java.math.BigInteger>
Copyright © 2014 The Apache Software Foundation