Package oracle.kv
Interface ValueBinding<T>
- 
- Type Parameters:
 T- is the type of the deserialized object that is passed totoValueand returned bytoObject. The specific type depends on the particular binding that is used.
@Deprecated public interface ValueBinding<T>Deprecated.as of 4.0, use the table API instead.Generic interface for translating betweenValues (stored byte arrays) and typed objects representing that value. In other words, this interface is used for serialization and deserialization ofValues.- Since:
 - 2.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description TtoObject(Value value)Deprecated.ValuetoValue(T object)Deprecated.Before doing a write operation, the user callstoValuepassing an object she wishes to store. 
 - 
 
- 
- 
Method Detail
- 
toValue
Value toValue(T object) throws java.lang.RuntimeException
Deprecated.Before doing a write operation, the user callstoValuepassing an object she wishes to store. The resultingValueis then passed to the write operation method inKVStore.- Parameters:
 object- the object the user wishes to store, or at least serialize.- Returns:
 - the serialized object.
 - Throws:
 java.lang.RuntimeException- if a parameter value is disallowed by the binding
 
 - 
 
 -