Package org.apache.flink.api.java.functions

Examples of org.apache.flink.api.java.functions.SelectByMaxFunction


    // Check for using a tuple
    if(!this.type.isTupleType()) {
      throw new InvalidProgramException("Method maxBy(int) only works on tuples.");
    }
     
    return new ReduceOperator<T>(this, new SelectByMaxFunction(
        (TupleTypeInfo) this.type, fields));
  }
View Full Code Here


    // Check for using a tuple
    if(!this.dataSet.getType().isTupleType()) {
      throw new InvalidProgramException("Method maxBy(int) only works on tuples.");
    }
     
    return new ReduceOperator<T>(this, new SelectByMaxFunction(
        (TupleTypeInfo) this.dataSet.getType(), fields));
  }
View Full Code Here

TOP

Related Classes of org.apache.flink.api.java.functions.SelectByMaxFunction

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.