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
Constructors -
Method Summary
-
Constructor Details
-
GzipThriftSerializationDelegate
public GzipThriftSerializationDelegate()
-
-
Method Details
-
prepare
Description copied from interface:SerializationDelegateLifecycle step that will be called after instantiating with nullary constructor.- Specified by:
preparein interfaceSerializationDelegate
-
serialize
- Specified by:
serializein interfaceSerializationDelegate
-
deserialize
- Specified by:
deserializein interfaceSerializationDelegate
-