Example usage for org.apache.spark.api.java.function FlatMapFunction2 interface-usage

List of usage examples for org.apache.spark.api.java.function FlatMapFunction2 interface-usage

Introduction

In this page you can find the example usage for org.apache.spark.api.java.function FlatMapFunction2 interface-usage.

Usage

From source file org.apache.crunch.fn.SFlatMapFunction2.java

/**
 * A Crunch-compatible abstract base class for Spark's {@link FlatMapFunction2}. Subclasses
 * of this class may be used against either Crunch {@code PCollections} or Spark {@code RDDs}.
 */
public abstract class SFlatMapFunction2<K, V, R> extends DoFn<Pair<K, V>, R> implements FlatMapFunction2<K, V, R> {
    @Override

From source file org.eclairjs.nashorn.JSFlatMapFunction2.java

public class JSFlatMapFunction2 extends JSBaseFunction implements FlatMapFunction2 {
    public JSFlatMapFunction2(String func, Object[] o) {
        super(func, o);
    }

    @SuppressWarnings("unchecked")