public class SlidingCountPreReducer<T> extends SlidingPreReducer<T>
| Modifier and Type | Field and Description |
|---|---|
protected long |
index |
currentReduced, elementsPerPreAggregate, elementsSinceLastPreAggregate, reduced, reducer, serializer, toRemoveemitEmpty, emitPerGroup, nextID, sequentialID| Constructor and Description |
|---|
SlidingCountPreReducer(org.apache.flink.api.common.functions.ReduceFunction<T> reducer,
org.apache.flink.api.common.typeutils.TypeSerializer<T> serializer,
long windowSize,
long slideSize,
int start) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterEmit() |
protected void |
afterStore() |
SlidingCountPreReducer<T> |
clone() |
protected boolean |
currentEligible(T next) |
void |
store(T element) |
addCurrentToBuffer, addFinalAggregate, addToBufferIfEligible, currentNotEmpty, emitWindow, evict, max, removeLastReduced, resetCurrent, toString, updateCurrentcreateEmptyWindow, emitEmpty, sequentialIDprotected void afterStore()
afterStore in class SlidingPreReducer<T>public void store(T element) throws Exception
store in class SlidingPreReducer<T>Exceptionprotected boolean currentEligible(T next)
currentEligible in class SlidingPreReducer<T>protected void afterEmit()
afterEmit in class SlidingPreReducer<T>public SlidingCountPreReducer<T> clone()
clone in class SlidingPreReducer<T>Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.