protected static class Serdes.WrapperSerde<T> extends java.lang.Object implements Serde<T>
Constructor and Description |
---|
WrapperSerde(Serializer<T> serializer,
Deserializer<T> deserializer) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close this serde class, which will close the underlying serializer and deserializer.
|
void |
configure(java.util.Map<java.lang.String,?> configs,
boolean isKey)
Configure this class, which will configure the underlying serializer and deserializer.
|
Deserializer<T> |
deserializer() |
Serializer<T> |
serializer() |
public WrapperSerde(Serializer<T> serializer, Deserializer<T> deserializer)
public void configure(java.util.Map<java.lang.String,?> configs, boolean isKey)
Serde
public void close()
Serde
public Serializer<T> serializer()
serializer
in interface Serde<T>
public Deserializer<T> deserializer()
deserializer
in interface Serde<T>