S
- The initial state type.IN
- The data in state.@FunctionalInterface public interface WindowContents<S extends State,IN> extends Serializable
State
type into an iterable over its contents.Modifier and Type | Method and Description |
---|---|
static <IN,OUT> WindowContents<AggregatingState<IN,OUT>,OUT> |
aggregatingState() |
Iterable<IN> |
contents(S state) |
static <T> WindowContents<ListState<T>,T> |
listState() |
static <T> WindowContents<ReducingState<T>,T> |
reducingState() |
static <T> WindowContents<ReducingState<T>,T> reducingState()
static <IN,OUT> WindowContents<AggregatingState<IN,OUT>,OUT> aggregatingState()
static <T> WindowContents<ListState<T>,T> listState()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.