public abstract class CollectionSerializer<T> extends java.lang.Object implements TypeSerializer<T>
Constructor and Description |
---|
CollectionSerializer() |
Modifier and Type | Method and Description |
---|---|
protected static int |
getUnsignedShort(java.nio.ByteBuffer bb) |
static java.nio.ByteBuffer |
pack(java.util.List<java.nio.ByteBuffer> buffers,
int elements) |
protected static java.nio.ByteBuffer |
pack(java.util.List<java.nio.ByteBuffer> buffers,
int elements,
int size) |
void |
validate(java.nio.ByteBuffer bytes) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deserialize, getType, serialize, toString
public void validate(java.nio.ByteBuffer bytes) throws MarshalException
validate
in interface TypeSerializer<T>
MarshalException
protected static java.nio.ByteBuffer pack(java.util.List<java.nio.ByteBuffer> buffers, int elements, int size)
public static java.nio.ByteBuffer pack(java.util.List<java.nio.ByteBuffer> buffers, int elements)
protected static int getUnsignedShort(java.nio.ByteBuffer bb)
Copyright © 2014 The Apache Software Foundation