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