Class AbstractDataStream<T>
java.lang.Object
org.apache.flink.datastream.impl.stream.AbstractDataStream<T>
- All Implemented Interfaces:
org.apache.flink.datastream.api.stream.DataStream
- Direct Known Subclasses:
BroadcastStreamImpl,GlobalStreamImpl,KeyedPartitionStreamImpl,NonKeyedPartitionStreamImpl
public abstract class AbstractDataStream<T>
extends Object
implements org.apache.flink.datastream.api.stream.DataStream
Base class for all streams.
Note: This is only used for internal implementation. It must not leak to user face api.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ExecutionEnvironmentImplprotected final Map<org.apache.flink.util.OutputTag<?>,org.apache.flink.api.common.typeinfo.TypeInformation<?>> We keep track of the side outputs that were already requested and their types.protected final org.apache.flink.api.dag.Transformation<T> -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDataStream(ExecutionEnvironmentImpl environment, org.apache.flink.api.dag.Transformation<T> transformation) -
Method Summary
Modifier and TypeMethodDescription<X> org.apache.flink.api.dag.Transformation<X>getSideOutputTransform(org.apache.flink.util.OutputTag<X> outputTag) org.apache.flink.api.dag.Transformation<T>This is only used for internal implementation.org.apache.flink.api.common.typeinfo.TypeInformation<T>getType()
-
Field Details
-
environment
-
transformation
-
requestedSideOutputs
protected final Map<org.apache.flink.util.OutputTag<?>,org.apache.flink.api.common.typeinfo.TypeInformation<?>> requestedSideOutputsWe keep track of the side outputs that were already requested and their types. With this, we can catch the case when a side output with a matching id is requested for a different type because this would lead to problems at runtime.
-
-
Constructor Details
-
AbstractDataStream
public AbstractDataStream(ExecutionEnvironmentImpl environment, org.apache.flink.api.dag.Transformation<T> transformation)
-
-
Method Details
-
getType
-
getTransformation
This is only used for internal implementation. It must not leak to user face api. -
getEnvironment
-
getSideOutputTransform
public <X> org.apache.flink.api.dag.Transformation<X> getSideOutputTransform(org.apache.flink.util.OutputTag<X> outputTag)
-