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

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

package io.hydrosphere.mist.lib

import io.hydrosphere.mist.contexts.ContextWrapper
import org.apache.spark.SparkContext

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

  private[mist] def setup(sc: ContextWrapper) = _context = sc.context
  private[mist] def stopStreaming(): Unit = {}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy