Class WindowedSerdes


  • public class WindowedSerdes
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      WindowedSerdes()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> org.apache.kafka.common.serialization.Serde<Windowed<T>> sessionWindowedSerdeFrom​(java.lang.Class<T> type)
      Construct a SessionWindowedSerde object for the specified inner class type.
      static <T> org.apache.kafka.common.serialization.Serde<Windowed<T>> timeWindowedSerdeFrom​(java.lang.Class<T> type)
      Construct a TimeWindowedSerde object for the specified inner class type.
      static <T> org.apache.kafka.common.serialization.Serde<Windowed<T>> timeWindowedSerdeFrom​(java.lang.Class<T> type, long windowSize)
      Construct a TimeWindowedSerde object to deserialize changelog topic for the specified inner class type and window size.
      • Methods inherited from class java.lang.Object

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

      • WindowedSerdes

        public WindowedSerdes()
    • Method Detail

      • timeWindowedSerdeFrom

        public static <T> org.apache.kafka.common.serialization.Serde<Windowed<T>> timeWindowedSerdeFrom​(java.lang.Class<T> type)
        Construct a TimeWindowedSerde object for the specified inner class type.
      • timeWindowedSerdeFrom

        public static <T> org.apache.kafka.common.serialization.Serde<Windowed<T>> timeWindowedSerdeFrom​(java.lang.Class<T> type,
                                                                                                         long windowSize)
        Construct a TimeWindowedSerde object to deserialize changelog topic for the specified inner class type and window size.
      • sessionWindowedSerdeFrom

        public static <T> org.apache.kafka.common.serialization.Serde<Windowed<T>> sessionWindowedSerdeFrom​(java.lang.Class<T> type)
        Construct a SessionWindowedSerde object for the specified inner class type.