com.datastax.driver.core
Class Codec

java.lang.Object
  extended by com.datastax.driver.core.Codec

public class Codec
extends Object

Static method to code/decode serialized data given their types.


Method Summary
static
<T> org.apache.cassandra.db.marshal.AbstractType<T>
getCodec(DataType type)
           
static DataType rawTypeToDataType(org.apache.cassandra.db.marshal.AbstractType<?> rawType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCodec

public static <T> org.apache.cassandra.db.marshal.AbstractType<T> getCodec(DataType type)

rawTypeToDataType

public static DataType rawTypeToDataType(org.apache.cassandra.db.marshal.AbstractType<?> rawType)


Copyright © 2013. All Rights Reserved.