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

io.hydrosphere.mist.api.ContextSupport.scala Maven / Gradle / Ivy

package io.hydrosphere.mist.api

import org.apache.spark.SparkContext

trait ContextSupport {
  private [mist] var _context: SparkContext = _
  protected def context: SparkContext = _context

  private[mist] def setup(conf: SetupConfiguration) = _context = conf.context
  private[mist] def stop(): Unit = {}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy