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

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

package io.hydrosphere.mist.lib

import io.hydrosphere.mist.contexts.ContextWrapper
import org.apache.spark.sql.hive.HiveContext

trait HiveSupport extends ContextSupport {
  private var _hiveContext: HiveContext = null

  protected def hiveContext: HiveContext = _hiveContext

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy