io.ray.streaming.api.function.impl.ReduceFunction Maven / Gradle / Ivy
package io.ray.streaming.api.function.impl;
import io.ray.streaming.api.function.Function;
/**
* Interface of reduce functions.
*
* @param Type of the input data.
*/
@FunctionalInterface
public interface ReduceFunction extends Function {
T reduce(T oldValue, T newValue);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy