All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xpatterns.spark.core.java.XPatternsJavaSparkJob Maven / Gradle / Ivy

Go to download

The API for Spark-API. Contains the SparkJob interface that must be extended in order to run jobs on the server.

The newest version!
package com.xpatterns.spark.core.java;

import com.typesafe.config.Config;
import com.xpatterns.spark.core.java.validation.XPatternsJobValidation;
import org.apache.spark.api.java.JavaSparkContext;

import java.io.Serializable;

/**
 * Created by radum on 10.04.2014.
 */


public interface XPatternsJavaSparkJob {

    public XPatternsJobValidation validate(JavaSparkContext javaSparkContext, Config configuration);

    public Serializable run(JavaSparkContext javaSparkContext, Config configuration);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy