/** * Applies an aggregation that gives the maximum element of every window of * the data stream by the given field. If more elements have the same * maximum value the operator returns the first by default. * * @param field * The field to maximize by * @return The transformed DataStream. */ public SingleOutputStreamOperator<T> maxBy(String field) { return this.maxBy(field, true); }
/** * Applies an aggregation that gives the maximum element of every window of * the data stream by the given position. If more elements have the same * maximum value the operator returns the first by default. * * @param positionToMaxBy * The position to maximize by * @return The transformed DataStream. */ public SingleOutputStreamOperator<T> maxBy(int positionToMaxBy) { return this.maxBy(positionToMaxBy, true); }
/** * Applies an aggregation that gives the maximum element of every window of * the data stream by the given position. If more elements have the same * maximum value the operator returns the first by default. * * @param positionToMaxBy * The position to maximize by * @return The transformed DataStream. */ public SingleOutputStreamOperator<T> maxBy(int positionToMaxBy) { return this.maxBy(positionToMaxBy, true); }
/** * Applies an aggregation that gives the maximum element of every window of * the data stream by the given field. If more elements have the same * maximum value the operator returns the first by default. * * @param field * The field to maximize by * @return The transformed DataStream. */ public SingleOutputStreamOperator<T> maxBy(String field) { return this.maxBy(field, true); }
/** * Applies an aggregation that gives the maximum element of every window of * the data stream by the given position. If more elements have the same * maximum value the operator returns the first by default. * * @param positionToMaxBy * The position to maximize by * @return The transformed DataStream. */ public SingleOutputStreamOperator<T> maxBy(int positionToMaxBy) { return this.maxBy(positionToMaxBy, true); }
/** * Applies an aggregation that gives the maximum element of every window of * the data stream by the given position. If more elements have the same * maximum value the operator returns the first by default. * * @param positionToMaxBy * The position to maximize by * @return The transformed DataStream. */ public SingleOutputStreamOperator<T> maxBy(int positionToMaxBy) { return this.maxBy(positionToMaxBy, true); }
/** * Applies an aggregation that gives the maximum element of every window of * the data stream by the given field. If more elements have the same * maximum value the operator returns the first by default. * * @param field * The field to maximize by * @return The transformed DataStream. */ public SingleOutputStreamOperator<T> maxBy(String field) { return this.maxBy(field, true); }
/** * Applies an aggregation that gives the maximum element of every window of * the data stream by the given field. If more elements have the same * maximum value the operator returns the first by default. * * @param field * The field to maximize by * @return The transformed DataStream. */ public SingleOutputStreamOperator<T> maxBy(String field) { return this.maxBy(field, true); }