T - The type of the elements that this source produces@Internal public class SourceTransformation<T> extends StreamTransformation<T>
StreamTransformation of any topology.bufferTimeout, id, idCounter, name, outputType, typeUsed| Constructor and Description |
|---|
SourceTransformation(String name,
StreamSource<T,?> operator,
org.apache.flink.api.common.typeinfo.TypeInformation<T> outputType,
int parallelism)
Creates a new
SourceTransformation from the given operator. |
| Modifier and Type | Method and Description |
|---|---|
StreamSource<T,?> |
getOperator()
Returns the
StreamSource, the operator of this SourceTransformation. |
Collection<StreamTransformation<?>> |
getTransitivePredecessors()
Returns all transitive predecessor
StreamTransformations of this StreamTransformation. |
void |
setChainingStrategy(ChainingStrategy strategy)
Sets the chaining strategy of this
StreamTransformation. |
equals, getBufferTimeout, getId, getName, getNewNodeId, getOutputType, getParallelism, getSlotSharingGroup, getUid, hashCode, setBufferTimeout, setName, setOutputType, setParallelism, setSlotSharingGroup, setUid, toStringpublic SourceTransformation(String name, StreamSource<T,?> operator, org.apache.flink.api.common.typeinfo.TypeInformation<T> outputType, int parallelism)
SourceTransformation from the given operator.name - The name of the SourceTransformation, this will be shown in Visualizations and the Logoperator - The StreamSource that is the operator of this TransformationoutputType - The type of the elements produced by this SourceTransformationparallelism - The parallelism of this SourceTransformationpublic StreamSource<T,?> getOperator()
StreamSource, the operator of this SourceTransformation.public Collection<StreamTransformation<?>> getTransitivePredecessors()
StreamTransformationStreamTransformations of this StreamTransformation. This
is, for example, used when determining whether a feedback edge of an iteration
actually has the iteration head as a predecessor.getTransitivePredecessors in class StreamTransformation<T>public final void setChainingStrategy(ChainingStrategy strategy)
StreamTransformationStreamTransformation.setChainingStrategy in class StreamTransformation<T>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.