
static class TypeInformationSerializer.VectorFieldTypeSerializer extends Object implements ByteBufferSerializer<VectorFieldTypeInformation<?>>
| Constructor and Description |
|---|
TypeInformationSerializer.VectorFieldTypeSerializer() |
| Modifier and Type | Method and Description |
|---|---|
VectorFieldTypeInformation<?> |
fromByteBuffer(ByteBuffer buffer)
Deserialize an object from a byte buffer (e.g. disk)
|
int |
getByteSize(VectorFieldTypeInformation<?> object)
Get the size of the object in bytes.
|
void |
toByteBuffer(ByteBuffer buffer,
VectorFieldTypeInformation<?> object)
Serialize the object to a byte array (e.g. disk)
|
TypeInformationSerializer.VectorFieldTypeSerializer()
public VectorFieldTypeInformation<?> fromByteBuffer(ByteBuffer buffer) throws IOException, UnsupportedOperationException
ByteBufferSerializerfromByteBuffer in interface ByteBufferSerializer<VectorFieldTypeInformation<?>>buffer - Data array to processIOException - on IO errorsUnsupportedOperationException - When functionality not implemented or
availablepublic void toByteBuffer(ByteBuffer buffer, VectorFieldTypeInformation<?> object) throws IOException, UnsupportedOperationException
ByteBufferSerializertoByteBuffer in interface ByteBufferSerializer<VectorFieldTypeInformation<?>>buffer - Buffer to serialize toobject - Object to serializeIOException - on IO errorsUnsupportedOperationException - When functionality not implemented or
availablepublic int getByteSize(VectorFieldTypeInformation<?> object) throws IOException, UnsupportedOperationException
ByteBufferSerializergetByteSize in interface ByteBufferSerializer<VectorFieldTypeInformation<?>>object - Object to serializeIOException - on IO errorsUnsupportedOperationException - When functionality not implemented or
available