public class WindowedSerdes
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
WindowedSerdes.SessionWindowedSerde<T> |
static class |
WindowedSerdes.TimeWindowedSerde<T> |
Constructor and Description |
---|
WindowedSerdes() |
Modifier and Type | Method and Description |
---|---|
static <T> Serde<Windowed<T>> |
sessionWindowedSerdeFrom(java.lang.Class<T> type)
Construct a
SessionWindowedSerde object for the specified inner class type. |
static <T> Serde<Windowed<T>> |
timeWindowedSerdeFrom(java.lang.Class<T> type)
Construct a
TimeWindowedSerde object for the specified inner class type. |
static <T> 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. |
public static <T> Serde<Windowed<T>> timeWindowedSerdeFrom(java.lang.Class<T> type)
TimeWindowedSerde
object for the specified inner class type.public static <T> Serde<Windowed<T>> timeWindowedSerdeFrom(java.lang.Class<T> type, long windowSize)
TimeWindowedSerde
object to deserialize changelog topic
for the specified inner class type and window size.