public final class StreamGraphUtils extends Object
StreamGraph.| Constructor and Description |
|---|
StreamGraphUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
configureBufferTimeout(StreamGraph streamGraph,
int nodeId,
org.apache.flink.api.dag.Transformation<T> transformation,
long defaultBufferTimeout)
Configure a stream node's buffer timeout according to the given transformation.
|
static void |
validateTransformationUid(StreamGraph streamGraph,
org.apache.flink.api.dag.Transformation<?> transformation)
Throw
IllegalStateException if the PhysicalTransformation's uid or hash is
not set when auto generate uid is disabled. |
public static void validateTransformationUid(StreamGraph streamGraph, org.apache.flink.api.dag.Transformation<?> transformation)
IllegalStateException if the PhysicalTransformation's uid or hash is
not set when auto generate uid is disabled.streamGraph - The given graph that the transformation is added totransformation - The transformation needed to validatepublic static <T> void configureBufferTimeout(StreamGraph streamGraph, int nodeId, org.apache.flink.api.dag.Transformation<T> transformation, long defaultBufferTimeout)
streamGraph - The StreamGraph the node belongs tonodeId - The node's idtransformation - A given transformationdefaultBufferTimeout - The default buffer timeout valueCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.