IN - The type of the elements in the nput StreamTransformationOUT - The type of the elements that result from this OneInputTransformation@Internal public class OneInputTransformation<IN,OUT> extends StreamTransformation<OUT>
OneInputStreamOperator to one input
StreamTransformation.bufferTimeout, id, idCounter, name, outputType, typeUsed| Constructor and Description |
|---|
OneInputTransformation(StreamTransformation<IN> input,
String name,
OneInputStreamOperator<IN,OUT> operator,
org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType,
int parallelism)
Creates a new
OneInputTransformation from the given input and operator. |
| Modifier and Type | Method and Description |
|---|---|
StreamTransformation<IN> |
getInput()
Returns the input
StreamTransformation of this OneInputTransformation. |
org.apache.flink.api.common.typeinfo.TypeInformation<IN> |
getInputType()
Returns the
TypeInformation for the elements of the input. |
OneInputStreamOperator<IN,OUT> |
getOperator()
Returns the
TwoInputStreamOperator of this Transformation. |
org.apache.flink.api.java.functions.KeySelector<IN,?> |
getStateKeySelector()
Returns the
KeySelector that must be used for partitioning keyed state in this
Operation. |
org.apache.flink.api.common.typeinfo.TypeInformation<?> |
getStateKeyType() |
Collection<StreamTransformation<?>> |
getTransitivePredecessors()
Returns all transitive predecessor
StreamTransformations of this StreamTransformation. |
void |
setChainingStrategy(ChainingStrategy strategy)
Sets the chaining strategy of this
StreamTransformation. |
void |
setStateKeySelector(org.apache.flink.api.java.functions.KeySelector<IN,?> stateKeySelector)
Sets the
KeySelector that must be used for partitioning keyed state of this operation. |
void |
setStateKeyType(org.apache.flink.api.common.typeinfo.TypeInformation<?> stateKeyType) |
equals, getBufferTimeout, getId, getName, getNewNodeId, getOutputType, getParallelism, getSlotSharingGroup, getUid, hashCode, setBufferTimeout, setName, setOutputType, setParallelism, setSlotSharingGroup, setUid, toStringpublic OneInputTransformation(StreamTransformation<IN> input, String name, OneInputStreamOperator<IN,OUT> operator, org.apache.flink.api.common.typeinfo.TypeInformation<OUT> outputType, int parallelism)
OneInputTransformation from the given input and operator.input - The input StreamTransformationname - The name of the StreamTransformation, this will be shown in Visualizations and the Logoperator - The TwoInputStreamOperatoroutputType - The type of the elements produced by this OneInputTransformationparallelism - The parallelism of this OneInputTransformationpublic StreamTransformation<IN> getInput()
StreamTransformation of this OneInputTransformation.public org.apache.flink.api.common.typeinfo.TypeInformation<IN> getInputType()
TypeInformation for the elements of the input.public OneInputStreamOperator<IN,OUT> getOperator()
TwoInputStreamOperator of this Transformation.public void setStateKeySelector(org.apache.flink.api.java.functions.KeySelector<IN,?> stateKeySelector)
KeySelector that must be used for partitioning keyed state of this operation.stateKeySelector - The KeySelector to setpublic org.apache.flink.api.java.functions.KeySelector<IN,?> getStateKeySelector()
KeySelector that must be used for partitioning keyed state in this
Operation.public void setStateKeyType(org.apache.flink.api.common.typeinfo.TypeInformation<?> stateKeyType)
public org.apache.flink.api.common.typeinfo.TypeInformation<?> getStateKeyType()
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<OUT>public final void setChainingStrategy(ChainingStrategy strategy)
StreamTransformationStreamTransformation.setChainingStrategy in class StreamTransformation<OUT>Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.