public interface TypeSerializer<T>
| Modifier and Type | Method and Description | 
|---|---|
| T | deserialize(java.nio.ByteBuffer bytes) | 
| java.lang.Class<T> | getType() | 
| java.nio.ByteBuffer | serialize(T value) | 
| default java.lang.String | toCQLLiteral(java.nio.ByteBuffer buffer) | 
| java.lang.String | toString(T value) | 
| void | validate(java.nio.ByteBuffer bytes) | 
java.nio.ByteBuffer serialize(T value)
T deserialize(java.nio.ByteBuffer bytes)
void validate(java.nio.ByteBuffer bytes)
       throws MarshalException
MarshalExceptionjava.lang.String toString(T value)
java.lang.Class<T> getType()
default java.lang.String toCQLLiteral(java.nio.ByteBuffer buffer)
Copyright © 2018 The Apache Software Foundation