|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRecordSerializer<T>
An abstraction for serializing and de-serializing objects as byte[]s.
Note: Some serializers use the convention that a null will be
de-serialized as a null. This convention makes it easy to
de-serialize the value and then test to see whether or not the value was in
fact found in the index.
SerializerUtil,
IStreamSerializerISerializer, reconsider IStoreSerializer (can we drop it?)| Method Summary | |
|---|---|
T |
deserialize(byte[] data)
De-serialize an object. |
byte[] |
serialize(T obj)
Serialize an object. |
| Method Detail |
|---|
byte[] serialize(T obj)
obj - A object.
T deserialize(byte[] data)
data - The data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||