public class GzipBridgeThriftSerializationDelegate extends Object implements SerializationDelegate
ThriftSerializationDelegate to deserialize. Any logic needing to be enabled via prepare(java.util.Map) is passed through to both delegates.| Constructor and Description |
|---|
GzipBridgeThriftSerializationDelegate() |
| 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 GzipBridgeThriftSerializationDelegate()
public void prepare(Map<String,Object> topoConf)
SerializationDelegateprepare in interface SerializationDelegatepublic byte[] serialize(Object object)
serialize in interface SerializationDelegatepublic <T> T deserialize(byte[] bytes,
Class<T> clazz)
deserialize in interface SerializationDelegateCopyright © 2023 The Apache Software Foundation. All rights reserved.