List of usage examples for org.apache.spark.api.java.function MapFunction interface-usage
From source file org.apache.metron.profiler.spark.function.GroupByPeriodFunction.java
/**
* Defines how {@link MessageRoute} are grouped.
*
* The routes are grouped by (profile, entity, periodId) so that all of the required
* messages are available to produce a {@link org.apache.metron.profiler.ProfileMeasurement}.
*/
From source file org.eclairjs.nashorn.JSMapFunction.java
public class JSMapFunction extends JSBaseFunction implements org.apache.spark.api.java.function.MapFunction { private Encoder encoder; public JSMapFunction(String func, Encoder encoder, Object[] o) { super(func, o);