Package org.apache.storm.serialization
Class GzipBridgeThriftSerializationDelegate
java.lang.Object
org.apache.storm.serialization.GzipBridgeThriftSerializationDelegate
- All Implemented Interfaces:
- SerializationDelegate
Always writes gzip out, but tests incoming to see if it's gzipped. If it is, deserializes with gzip. If not, uses 
ThriftSerializationDelegate to deserialize. Any logic needing to be enabled via prepare(java.util.Map) is passed through to both delegates.- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
GzipBridgeThriftSerializationDelegatepublic GzipBridgeThriftSerializationDelegate()
 
- 
- 
Method Details- 
prepareDescription copied from interface:SerializationDelegateLifecycle step that will be called after instantiating with nullary constructor.- Specified by:
- preparein interface- SerializationDelegate
 
- 
serialize- Specified by:
- serializein interface- SerializationDelegate
 
- 
deserialize- Specified by:
- deserializein interface- SerializationDelegate
 
 
-