public abstract class FoldWindow<T,K> extends BaseWindowedSink<T>
allowedLateness, collectiveEvents, collectiveOutput, DEFAULT_MAX_LAG, DEFAULT_WATERMARK_INTERVAL, evictionPolicy, iTimestampExtractor, iWindow, maxLagMs, watermarkEventGenerator, watermarkInterval, windowingPolicy, windowLifeCycleListener, windowManager, windowParameter
Constructor and Description |
---|
FoldWindow(FoldWindowedFunction<T,K> foldWindowedFunction) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(IWindowMessage<T> windowMessage) |
abstract boolean |
fold(K content) |
abstract boolean |
foldLateMessage(K lateMessage) |
boolean |
getExpire(IWindowMessage<T> expiredMessages) |
boolean |
getLateMessages(IMessage<T> lateMessages) |
close, execute, getEvictionPolicy, getWindowingPolicy, initialize, isTimestamped, newWindowLifeCycleListener, prepare, reset, setPolicies, start, withAllowedLateness, withCustomTimestampExtractor, withSlidingCountWindow, withSlidingDurationWindow, withTimestampExtractor, withTumblingCountWindow, withTumblingDurationWindow, withWatermarkInterval, withWindow
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endExecute
public FoldWindow(FoldWindowedFunction<T,K> foldWindowedFunction)
public abstract boolean fold(K content)
public abstract boolean foldLateMessage(K lateMessage)
public boolean execute(IWindowMessage<T> windowMessage)
execute
in class BaseWindowedSink<T>
public boolean getLateMessages(IMessage<T> lateMessages)
getLateMessages
in class BaseWindowedSink<T>
public boolean getExpire(IWindowMessage<T> expiredMessages)
getExpire
in class BaseWindowedSink<T>