public final class DataStreamUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <OUT> Iterator<OUT> |
collect(org.apache.flink.streaming.api.datastream.DataStream<OUT> stream)
Returns an iterator to iterate over the elements of the DataStream.
|
public static <OUT> Iterator<OUT> collect(org.apache.flink.streaming.api.datastream.DataStream<OUT> stream) throws IOException
IOExceptionCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.