public class GzipSerializationDelegate extends Object implements SerializationDelegate
Note, this assumes it’s deserializing a gzip byte stream, and will err if it encounters any other serialization.
| Constructor and Description | 
|---|
| GzipSerializationDelegate() | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | deserialize(byte[] bytes,
           Class<T> clazz) | 
| void | prepare(Map stormConf)Lifecycle step that will be called after instantiating with nullary constructor. | 
| byte[] | serialize(Object object) | 
public void prepare(Map stormConf)
SerializationDelegateLifecycle step that will be called after instantiating with nullary constructor.
prepare in interface SerializationDelegatepublic byte[] serialize(Object object)
serialize in interface SerializationDelegatepublic <T> T deserialize(byte[] bytes,
                         Class<T> clazz)
deserialize in interface SerializationDelegateCopyright © 2022 The Apache Software Foundation. All Rights Reserved.