OUT - The output type of the operatorpublic abstract class AbstractStreamOperator<OUT> extends Object implements StreamOperator<OUT>
StreamOperator.ChainingStrategy| Modifier and Type | Field and Description |
|---|---|
protected StreamOperator.ChainingStrategy |
chainingStrategy |
protected org.apache.flink.api.common.ExecutionConfig |
executionConfig |
protected boolean |
inputCopyDisabled |
Output<OUT> |
output |
protected org.apache.flink.api.common.functions.RuntimeContext |
runtimeContext |
| Constructor and Description |
|---|
AbstractStreamOperator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method is called after no more elements for can arrive for processing.
|
void |
disableInputCopy()
Enable object-reuse for this operator instance.
|
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 parameters)
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. |
protected transient org.apache.flink.api.common.functions.RuntimeContext runtimeContext
protected transient org.apache.flink.api.common.ExecutionConfig executionConfig
protected boolean inputCopyDisabled
protected StreamOperator.ChainingStrategy chainingStrategy
public void setup(Output<OUT> output, org.apache.flink.api.common.functions.RuntimeContext runtimeContext)
StreamOperatorStreamOperator for input and output handling.setup in interface StreamOperator<OUT>public void open(org.apache.flink.configuration.Configuration parameters)
throws Exception
StreamOperatoropen in interface StreamOperator<OUT>Exceptionpublic void close()
throws Exception
StreamOperatorclose in interface StreamOperator<OUT>Exceptionpublic final void setChainingStrategy(StreamOperator.ChainingStrategy strategy)
setChainingStrategy in interface StreamOperator<OUT>public final StreamOperator.ChainingStrategy getChainingStrategy()
getChainingStrategy in interface StreamOperator<OUT>public boolean isInputCopyingDisabled()
StreamOperatorExecutionConfigisInputCopyingDisabled in interface StreamOperator<OUT>public void disableInputCopy()
ExecutionConfig/Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.