GigaSpaces XAP 9.7.2 API

org.openspaces.persistency.cassandra.meta.types.dynamic
Interface PropertyValueSerializer

All Known Implementing Classes:
DynamicPropertyValueSerializer

public interface PropertyValueSerializer

An interface used for conversion of objects to/from ByteBuffer.

Since:
9.1.1
Author:
Dan Kilman

Method Summary
 Object fromByteBuffer(ByteBuffer byteBuffer)
           
 ByteBuffer toByteBuffer(Object value)
           
 

Method Detail

toByteBuffer

ByteBuffer toByteBuffer(Object value)
Parameters:
value - The object to serialize.
Returns:
A ByteBuffer holding a serialized form of the value argument.

fromByteBuffer

Object fromByteBuffer(ByteBuffer byteBuffer)
Parameters:
byteBuffer - Holds the bytes as originally serialized using toByteBuffer(Object).
Returns:
The deserialized object value.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.