public class TumblingPreReducer<T> extends WindowBuffer<T> implements PreAggregator
emitEmpty, emitPerGroup, nextID, sequentialID| Constructor and Description |
|---|
TumblingPreReducer(org.apache.flink.api.common.functions.ReduceFunction<T> reducer,
org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer) |
| Modifier and Type | Method and Description |
|---|---|
TumblingPreReducer<T> |
clone() |
WindowBuffer<T> |
emitEmpty() |
void |
emitWindow(org.apache.flink.util.Collector<StreamWindow<T>> collector) |
void |
evict(int n) |
TumblingPreReducer<T> |
noEvict() |
void |
store(T element) |
String |
toString() |
createEmptyWindow, sequentialIDpublic void emitWindow(org.apache.flink.util.Collector<StreamWindow<T>> collector)
emitWindow in class WindowBuffer<T>public void store(T element) throws Exception
store in class WindowBuffer<T>Exceptionpublic void evict(int n)
evict in class WindowBuffer<T>public TumblingPreReducer<T> clone()
clone in class WindowBuffer<T>public WindowBuffer<T> emitEmpty()
emitEmpty in class WindowBuffer<T>public TumblingPreReducer<T> noEvict()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.