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

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

package io.hydrosphere.mist.lib

import io.hydrosphere.mist.contexts.ContextWrapper
import org.apache.spark.sql.SQLContext

trait SQLSupport extends ContextSupport {
  private var _sqlContext: SQLContext = null

  protected def sqlContext: SQLContext = _sqlContext

  override private[mist] def setup(sc: ContextWrapper): Unit = {
    super.setup(sc)
    _sqlContext = sc.sqlContext
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy