T - The type of the elements in the input LegacySinkTransformation@Internal public class LegacySinkTransformation<T> extends PhysicalTransformation<T>
| 构造器和说明 |
|---|
LegacySinkTransformation(org.apache.flink.api.dag.Transformation<T> input,
String name,
StreamOperatorFactory<Object> operatorFactory,
int parallelism) |
LegacySinkTransformation(org.apache.flink.api.dag.Transformation<T> input,
String name,
StreamSink<T> operator,
int parallelism)
Creates a new
LegacySinkTransformation from the given input Transformation. |
| 限定符和类型 | 方法和说明 |
|---|---|
List<org.apache.flink.api.dag.Transformation<?>> |
getInputs() |
StreamSink<T> |
getOperator() |
StreamOperatorFactory<Object> |
getOperatorFactory()
Returns the
StreamOperatorFactory of this LegacySinkTransformation. |
org.apache.flink.api.java.functions.KeySelector<T,?> |
getStateKeySelector()
Returns the
KeySelector that must be used for partitioning keyed state in this Sink. |
org.apache.flink.api.common.typeinfo.TypeInformation<?> |
getStateKeyType() |
List<org.apache.flink.api.dag.Transformation<?>> |
getTransitivePredecessors() |
void |
setChainingStrategy(ChainingStrategy strategy)
Sets the chaining strategy of this
Transformation. |
void |
setStateKeySelector(org.apache.flink.api.java.functions.KeySelector<T,?> stateKeySelector)
Sets the
KeySelector that must be used for partitioning keyed state of this Sink. |
void |
setStateKeyType(org.apache.flink.api.common.typeinfo.TypeInformation<?> stateKeyType) |
declareManagedMemoryUseCaseAtOperatorScope, declareManagedMemoryUseCaseAtSlotScope, equals, getBufferTimeout, getCoLocationGroupKey, getDescription, getId, getManagedMemoryOperatorScopeUseCaseWeights, getManagedMemorySlotScopeUseCases, getMaxParallelism, getMinResources, getName, getNewNodeId, getOutputType, getParallelism, getPreferredResources, getSlotSharingGroup, getUid, getUserProvidedNodeHash, hashCode, setBufferTimeout, setCoLocationGroupKey, setDescription, setMaxParallelism, setName, setOutputType, setParallelism, setResources, setSlotSharingGroup, setSlotSharingGroup, setUid, setUidHash, toString, updateManagedMemoryStateBackendUseCasepublic LegacySinkTransformation(org.apache.flink.api.dag.Transformation<T> input, String name, StreamSink<T> operator, int parallelism)
LegacySinkTransformation from the given input Transformation.input - The input Transformationname - The name of the Transformation, this will be shown in Visualizations and
the Logoperator - The sink operatorparallelism - The parallelism of this LegacySinkTransformationpublic LegacySinkTransformation(org.apache.flink.api.dag.Transformation<T> input, String name, StreamOperatorFactory<Object> operatorFactory, int parallelism)
@VisibleForTesting public StreamSink<T> getOperator()
public StreamOperatorFactory<Object> getOperatorFactory()
StreamOperatorFactory of this LegacySinkTransformation.public void setStateKeySelector(org.apache.flink.api.java.functions.KeySelector<T,?> stateKeySelector)
KeySelector that must be used for partitioning keyed state of this Sink.stateKeySelector - The KeySelector to setpublic org.apache.flink.api.java.functions.KeySelector<T,?> getStateKeySelector()
KeySelector that must be used for partitioning keyed state in this Sink.public void setStateKeyType(org.apache.flink.api.common.typeinfo.TypeInformation<?> stateKeyType)
public org.apache.flink.api.common.typeinfo.TypeInformation<?> getStateKeyType()
public List<org.apache.flink.api.dag.Transformation<?>> getTransitivePredecessors()
getTransitivePredecessors 在类中 org.apache.flink.api.dag.Transformation<T>public List<org.apache.flink.api.dag.Transformation<?>> getInputs()
getInputs 在类中 org.apache.flink.api.dag.Transformation<T>public final void setChainingStrategy(ChainingStrategy strategy)
PhysicalTransformationTransformation.setChainingStrategy 在类中 PhysicalTransformation<T>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.