|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.db.marshal.AbstractType
org.apache.cassandra.db.marshal.LongType
public class LongType
Field Summary | |
---|---|
static LongType |
instance
|
Fields inherited from class org.apache.cassandra.db.marshal.AbstractType |
---|
columnComparator, columnReverseComparator, indexComparator, indexReverseComparator, reverseComparator |
Method Summary | |
---|---|
int |
compare(java.nio.ByteBuffer o1,
java.nio.ByteBuffer o2)
|
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)
|
Methods inherited from class org.apache.cassandra.db.marshal.AbstractType |
---|
getColumnsString, getReverseComparator, getString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Field Detail |
---|
public static final LongType instance
Method Detail |
---|
public int compare(java.nio.ByteBuffer o1, java.nio.ByteBuffer o2)
public java.lang.String getString(java.nio.ByteBuffer bytes)
AbstractType
getString
in class AbstractType
public java.nio.ByteBuffer fromString(java.lang.String source)
AbstractType
fromString
in class AbstractType
public void validate(java.nio.ByteBuffer bytes) throws MarshalException
validate
in class AbstractType
MarshalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |