IN - The type of the incoming elements.OUT - The type of elements emitted by the WindowFunction.W - The type of Window that the WindowAssigner assigns.public class EvictingNonKeyedWindowOperator<IN,OUT,W extends Window> extends NonKeyedWindowOperator<IN,OUT,W>
EvictingWindowOperator,
Serialized FormNonKeyedWindowOperator.ContextcurrentWatermark, timestampedCollector, windowsuserFunctionchainingStrategy, output| Constructor and Description |
|---|
EvictingNonKeyedWindowOperator(WindowAssigner<? super IN,W> windowAssigner,
TypeSerializer<W> windowSerializer,
WindowBufferFactory<? super IN,? extends EvictingWindowBuffer<IN>> windowBufferFactory,
AllWindowFunction<IN,OUT,W> windowFunction,
Trigger<? super IN,? super W> trigger,
Evictor<? super IN,? super W> evictor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
emitWindow(NonKeyedWindowOperator.Context context) |
EvictingNonKeyedWindowOperator<IN,OUT,W> |
enableSetProcessingTime(boolean setProcessingTime)
When this flag is enabled the current processing time is set as the timestamp of elements
upon arrival.
|
Evictor<? super IN,? super W> |
getEvictor() |
close, getTrigger, getWindowAssigner, getWindowBufferFactory, isSetProcessingTime, open, processElement, processWatermark, restoreState, setInputType, snapshotOperatorState, triggerdispose, getUserFunction, getUserFunctionParameters, notifyOfCompletedCheckpoint, setOutputType, setupcreateKeyValueState, createKeyValueState, disableInputCopy, getChainingStrategy, getContainingTask, getExecutionConfig, getOperatorConfig, getRuntimeContext, getStateBackend, getUserCodeClassloader, isInputCopyingDisabled, registerTimer, setChainingStrategy, setKeyContext, setKeyContextElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, getChainingStrategy, isInputCopyingDisabled, notifyOfCompletedCheckpoint, setChainingStrategy, setKeyContextElement, setuppublic EvictingNonKeyedWindowOperator(WindowAssigner<? super IN,W> windowAssigner, TypeSerializer<W> windowSerializer, WindowBufferFactory<? super IN,? extends EvictingWindowBuffer<IN>> windowBufferFactory, AllWindowFunction<IN,OUT,W> windowFunction, Trigger<? super IN,? super W> trigger, Evictor<? super IN,? super W> evictor)
protected void emitWindow(NonKeyedWindowOperator.Context context) throws Exception
emitWindow in class NonKeyedWindowOperator<IN,OUT,W extends Window>Exceptionpublic EvictingNonKeyedWindowOperator<IN,OUT,W> enableSetProcessingTime(boolean setProcessingTime)
NonKeyedWindowOperatorTimeEvictor with processing
time semantics.enableSetProcessingTime in class NonKeyedWindowOperator<IN,OUT,W extends Window>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.