OUT - The output type of the operatorpublic interface StreamOperator<OUT> extends Serializable
OneInputStreamOperator or
TwoInputStreamOperator to create operators
that process elements. You can use
AbstractStreamOperator as a base class for
custom operators.| Modifier and Type | Interface and Description |
|---|---|
static class |
StreamOperator.ChainingStrategy
Defines the chaining scheme for the operator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method is called after no more elements for can arrive for processing.
|
StreamOperator.ChainingStrategy |
getChainingStrategy() |
boolean |
isInputCopyingDisabled()
An operator can return true here to disable copying of its input elements.
|
void |
open(org.apache.flink.configuration.Configuration config)
This method is called before any elements are processed.
|
void |
setChainingStrategy(StreamOperator.ChainingStrategy strategy) |
void |
setup(Output<OUT> output,
org.apache.flink.api.common.functions.RuntimeContext runtimeContext)
Initializes the
StreamOperator for input and output handling. |
void setup(Output<OUT> output, org.apache.flink.api.common.functions.RuntimeContext runtimeContext)
StreamOperator for input and output handling.void open(org.apache.flink.configuration.Configuration config) throws Exception
Exceptionvoid close()
throws Exception
Exceptionboolean isInputCopyingDisabled()
ExecutionConfigvoid setChainingStrategy(StreamOperator.ChainingStrategy strategy)
StreamOperator.ChainingStrategy getChainingStrategy()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.