public class CounterColumnType extends AbstractCommutativeType
| Modifier and Type | Field and Description |
|---|---|
static CounterColumnType |
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) |
Column |
createColumn(java.nio.ByteBuffer name,
java.nio.ByteBuffer value,
long timestamp)
create commutative column
|
java.nio.ByteBuffer |
fromString(java.lang.String source)
get a byte representation of the given string.
|
TypeSerializer<java.lang.Long> |
getSerializer() |
java.lang.String |
getString(java.nio.ByteBuffer bytes)
get a string representation of the bytes suitable for log messages
|
compose, decompose, isCommutativecompareCollectionMembers, componentsCount, fromStringCQL2, getColumnsString, getComponents, getReverseComparator, getString, intersects, intersects, isCollection, isCompatibleWith, isValueCompatibleWith, isValueCompatibleWithInternal, parseDefaultParameters, toString, validate, validateCollectionMemberpublic static final CounterColumnType instance
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.Long>public Column createColumn(java.nio.ByteBuffer name, java.nio.ByteBuffer value, long timestamp)
createColumn in class AbstractCommutativeTypepublic java.nio.ByteBuffer fromString(java.lang.String source)
AbstractTypefromString in class AbstractType<java.lang.Long>public CQL3Type asCQL3Type()
asCQL3Type in class AbstractType<java.lang.Long>public TypeSerializer<java.lang.Long> getSerializer()
getSerializer in class AbstractType<java.lang.Long>Copyright © 2015 The Apache Software Foundation