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

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

There is a newer version: 0.13.3
Show newest version
package io.hydrosphere.mist.api

import org.apache.spark.sql.SQLContext

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

  protected def sqlContext: SQLContext = _sqlContext

  override private[mist] def setup(conf: SetupConfiguration): Unit = {
    super.setup(conf)
    _sqlContext = new SQLContext(conf.context)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy