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

com.xpatterns.spark.core.scala.XPatternsScalaSparkJob.scala 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.

There is a newer version: 4.0.0-cm5-spark131-cdh541
Show newest version
package com.xpatterns.spark.core.scala

import api.SparkJobValidation
import com.typesafe.config.Config
import org.apache.spark.SparkContext

/**
 * Created by radum on 10.04.2014.
 */
trait XPatternsScalaSparkJob {

  def runJob(sc: SparkContext, jobConfig: Config): java.io.Serializable;

  def validate(sc: SparkContext, config: Config): SparkJobValidation;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy