public class GzipSerializationDelegate extends Object implements SerializationDelegate
Constructor and Description |
---|
GzipSerializationDelegate() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(byte[] bytes) |
void |
prepare(Map stormConf)
Lifecycle step that will be called after instantiating with nullary constructor.
|
byte[] |
serialize(Object object) |
public void prepare(Map stormConf)
SerializationDelegate
prepare
in interface SerializationDelegate
public byte[] serialize(Object object)
serialize
in interface SerializationDelegate
public Object deserialize(byte[] bytes)
deserialize
in interface SerializationDelegate
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.