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

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

Introduction

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

Usage

From source file com.splicemachine.derby.stream.function.HFileGenerationFunction.java

/**
 * Created by jyuan on 3/21/17.
 */
public class HFileGenerationFunction implements MapPartitionsFunction<Row, String>, Externalizable {

    private static final Logger LOG = Logger.getLogger(HFileGenerationFunction.class);

From source file org.apache.metron.profiler.spark.function.HBaseWriterFunction.java

/**
 * Writes the profile measurements to HBase in Spark.
 */
public class HBaseWriterFunction implements MapPartitionsFunction<ProfileMeasurementAdapter, Integer> {

    protected static final Logger LOG = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

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

public class JSMapPartitionsFunction extends JSBaseFunction
        implements org.apache.spark.api.java.function.MapPartitionsFunction {

    Encoder encoder;

    public JSMapPartitionsFunction(String func, Encoder encoder, Object[] o) {