Package org.apache.storm.trident.state
Class JSONTransactionalSerializer
- java.lang.Object
-
- org.apache.storm.trident.state.JSONTransactionalSerializer
-
- All Implemented Interfaces:
Serializable
,Serializer<TransactionalValue>
public class JSONTransactionalSerializer extends Object implements Serializer<TransactionalValue>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JSONTransactionalSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionalValue
deserialize(byte[] b)
byte[]
serialize(TransactionalValue obj)
-
-
-
Method Detail
-
serialize
public byte[] serialize(TransactionalValue obj)
- Specified by:
serialize
in interfaceSerializer<TransactionalValue>
-
deserialize
public TransactionalValue deserialize(byte[] b)
- Specified by:
deserialize
in interfaceSerializer<TransactionalValue>
-
-