类 DataStreamList


  • @Experimental
    public class DataStreamList
    extends Object
    A utility class to maintain a list of DataStream, which might have different types.
    • 构造器详细资料

      • DataStreamList

        public DataStreamList​(List<org.apache.flink.streaming.api.datastream.DataStream<?>> dataStreams)
    • 方法详细资料

      • of

        public static DataStreamList of​(org.apache.flink.streaming.api.datastream.DataStream<?>... streams)
      • size

        public int size()
        Returns the number of data streams in this list.
      • get

        public <T> org.apache.flink.streaming.api.datastream.DataStream<T> get​(int index)
        Returns the data stream at the given index in this list.
      • getDataStreams

        public List<org.apache.flink.streaming.api.datastream.DataStream<?>> getDataStreams()
        Returns all the data streams as a native list.