Package eu.stratosphere.util

Examples of eu.stratosphere.util.NumberSequenceIterator


   * @param from The number to start at (inclusive).
   * @param to The number to stop at (inclusive).
   * @return A DataSet, containing all number in the {@code [from, to]} interval.
   */
  public DataSource<Long> generateSequence(long from, long to) {
    return fromParallelCollection(new NumberSequenceIterator(from, to), BasicTypeInfo.LONG_TYPE_INFO);
 
View Full Code Here

TOP

Related Classes of eu.stratosphere.util.NumberSequenceIterator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.