public class GzipSerializationDelegate extends Object implements SerializationDelegate
Constructor and Description |
---|
GzipSerializationDelegate() |
Modifier and Type | Method and Description |
---|---|
<T> T |
deserialize(byte[] bytes,
Class<T> clazz) |
void |
prepare(Map<String,Object> topoConf)
Lifecycle step that will be called after instantiating with nullary constructor.
|
byte[] |
serialize(Object object) |
public void prepare(Map<String,Object> topoConf)
SerializationDelegate
prepare
in interface SerializationDelegate
public byte[] serialize(Object object)
serialize
in interface SerializationDelegate
public <T> T deserialize(byte[] bytes, Class<T> clazz)
deserialize
in interface SerializationDelegate
Copyright © 2023 The Apache Software Foundation. All rights reserved.