Package org.apache.storm.serialization
Class GzipThriftSerializationDelegate
java.lang.Object
org.apache.storm.serialization.GzipThriftSerializationDelegate
- All Implemented Interfaces:
SerializationDelegate
Note, this assumes it's deserializing a gzip byte stream, and will err if it encounters any other serialization.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GzipThriftSerializationDelegate
public GzipThriftSerializationDelegate()
-
-
Method Details
-
prepare
Description copied from interface:SerializationDelegate
Lifecycle step that will be called after instantiating with nullary constructor.- Specified by:
prepare
in interfaceSerializationDelegate
-
serialize
- Specified by:
serialize
in interfaceSerializationDelegate
-
deserialize
- Specified by:
deserialize
in interfaceSerializationDelegate
-