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