Class Serdes.WrapperSerde<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • configure

        public void configure​(java.util.Map<java.lang.String,​?> configs,
                              boolean isKey)
        Description copied from interface: Serde
        Configure this class, which will configure the underlying serializer and deserializer.
        Specified by:
        configure in interface Serde<T>
        Parameters:
        configs - configs in key/value pairs
        isKey - whether is for key or value
      • close

        public void close()
        Description copied from interface: Serde
        Close this serde class, which will close the underlying serializer and deserializer. This method has to be idempotent because it might be called multiple times.
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface Serde<T>