T
- The type of the elements in this stream.@Public public class SideOutputDataStream<T> extends DataStream<T>
SideOutputDataStream
represents a DataStream
that contains elements that are
emitted from upstream into a side output with some tag.DataStream.Collector<T>
environment, transformation
Constructor and Description |
---|
SideOutputDataStream(StreamExecutionEnvironment environment,
SideOutputTransformation<T> transformation)
Creates a new
SideOutputDataStream in the given execution environment. |
Modifier and Type | Method and Description |
---|---|
CachedDataStream<T> |
cache()
Caches the intermediate result of the transformation.
|
addSink, assignTimestampsAndWatermarks, assignTimestampsAndWatermarks, assignTimestampsAndWatermarks, broadcast, broadcast, clean, coGroup, collectAsync, collectAsync, connect, connect, countWindowAll, countWindowAll, doTransform, executeAndCollect, executeAndCollect, executeAndCollect, executeAndCollect, filter, flatMap, flatMap, forward, fullWindowPartition, getExecutionConfig, getExecutionEnvironment, getId, getMinResources, getParallelism, getPreferredResources, getTransformation, getType, global, iterate, iterate, join, keyBy, keyBy, keyBy, keyBy, map, map, partitionCustom, partitionCustom, partitionCustom, print, print, printToErr, printToErr, process, process, project, rebalance, rescale, setConnectionType, shuffle, sinkTo, sinkTo, sinkTo, sinkTo, timeWindowAll, timeWindowAll, transform, transform, union, windowAll, writeAsCsv, writeAsCsv, writeAsCsv, writeAsText, writeAsText, writeToSocket, writeUsingOutputFormat
public SideOutputDataStream(StreamExecutionEnvironment environment, SideOutputTransformation<T> transformation)
SideOutputDataStream
in the given execution environment.environment
- The StreamExecutionEnvironmenttransformation
- The SideOutputTransformation@PublicEvolving public CachedDataStream<T> cache()
CachedDataStream.invalidate()
called or the StreamExecutionEnvironment
close.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.