Package org.apache.storm.serialization
Class GzipSerializationDelegate
java.lang.Object
org.apache.storm.serialization.GzipSerializationDelegate
- 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
-
GzipSerializationDelegate
public GzipSerializationDelegate()
-
-
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
-