Class Serdes.WrapperSerde<T>
java.lang.Object
org.apache.kafka.common.serialization.Serdes.WrapperSerde<T>
- All Implemented Interfaces:
Closeable, AutoCloseable, Serde<T>
- Direct Known Subclasses:
Serdes.BooleanSerde, Serdes.ByteArraySerde, Serdes.ByteBufferSerde, Serdes.BytesSerde, Serdes.DoubleSerde, Serdes.FloatSerde, Serdes.IntegerSerde, Serdes.ListSerde, Serdes.LongSerde, Serdes.ShortSerde, Serdes.StringSerde, Serdes.UUIDSerde, Serdes.VoidSerde, WindowedSerdes.SessionWindowedSerde, WindowedSerdes.TimeWindowedSerde
- Enclosing class:
Serdes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close this serde class, which will close the underlying serializer and deserializer.voidConfigure this class, which will configure the underlying serializer and deserializer.
-
Constructor Details
-
WrapperSerde
-
-
Method Details
-
configure
Description copied from interface:SerdeConfigure this class, which will configure the underlying serializer and deserializer. -
close
public void close()Description copied from interface:SerdeClose this serde class, which will close the underlying serializer and deserializer.This method has to be idempotent because it might be called multiple times.
-
serializer
- Specified by:
serializerin interfaceSerde<T>
-
deserializer
- Specified by:
deserializerin interfaceSerde<T>
-