public class GroupedActiveDiscretizer<IN> extends GroupedStreamDiscretizer<IN>
StreamOperator.ChainingStrategyevictionPolicy, groupedDiscretizers, keySelector, parameters, triggerPolicywindowEventchainingStrategy, executionConfig, inputCopyDisabled, output, runtimeContext| Constructor and Description |
|---|
GroupedActiveDiscretizer(org.apache.flink.api.java.functions.KeySelector<IN,?> keySelector,
CentralActiveTrigger<IN> triggerPolicy,
CloneableEvictionPolicy<IN> evictionPolicy) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method is called after no more elements for can arrive for processing.
|
protected StreamDiscretizer<IN> |
makeNewGroup(Object key)
This method creates a new group.
|
void |
open(org.apache.flink.configuration.Configuration parameters)
This method is called before any elements are processed.
|
void |
processElement(IN element) |
equals, toStringemitWindow, getEviction, getTrigger, processRealElement, triggerOnFakeElementdisableInputCopy, getChainingStrategy, isInputCopyingDisabled, setChainingStrategy, setupclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChainingStrategy, isInputCopyingDisabled, setChainingStrategy, setuppublic GroupedActiveDiscretizer(org.apache.flink.api.java.functions.KeySelector<IN,?> keySelector, CentralActiveTrigger<IN> triggerPolicy, CloneableEvictionPolicy<IN> evictionPolicy)
protected StreamDiscretizer<IN> makeNewGroup(Object key) throws Exception
GroupedStreamDiscretizerStreamDiscretizer and therefore created clones
of all distributed trigger and eviction policies.makeNewGroup in class GroupedStreamDiscretizer<IN>key - The key of the new group.Exceptionpublic void processElement(IN element) throws Exception
processElement in interface OneInputStreamOperator<IN,WindowEvent<IN>>processElement in class GroupedStreamDiscretizer<IN>Exceptionpublic void open(org.apache.flink.configuration.Configuration parameters)
throws Exception
StreamOperatoropen in interface StreamOperator<WindowEvent<IN>>open in class StreamDiscretizer<IN>Exceptionpublic void close()
throws Exception
StreamOperatorclose in interface StreamOperator<WindowEvent<IN>>close in class GroupedStreamDiscretizer<IN>ExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.