Class

com.rouesnel.typedsql

HiveQueryDataSource

Related Doc: package typedsql

Permalink

case class HiveQueryDataSource[T <: ThriftStruct, P](query: String, parameters: Map[String, String], sources: Map[String, DataSource[_, _]], udfs: Map[(String, String), Class[GenericUDF]], hiveViewName: Option[String] = None, hiveTableName: Option[String] = None, hdfsPath: Option[String] = None)(implicit evidence$22: Manifest[T], evidence$23: HasStructType[T], evidence$24: Partitions[P]) extends DataSource[T, P] with HiveViewSource[T, P] with PersistableSource[T, P] with Product with Serializable

Compiled and parameterised Hive query with defined sources.

Linear Supertypes
Serializable, Serializable, Product, Equals, PersistableSource[T, P], HiveViewSource[T, P], DataSource[T, P], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HiveQueryDataSource
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PersistableSource
  7. HiveViewSource
  8. DataSource
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HiveQueryDataSource(query: String, parameters: Map[String, String], sources: Map[String, DataSource[_, _]], udfs: Map[(String, String), Class[GenericUDF]], hiveViewName: Option[String] = None, hiveTableName: Option[String] = None, hdfsPath: Option[String] = None)(implicit arg0: Manifest[T], arg1: HasStructType[T], arg2: Partitions[P])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  9. def getUpstreamUdfs(): Map[(String, String), Class[GenericUDF]]

    Permalink
  10. def hasStructType: HasStructType[T]

    Permalink
    Definition Classes
    HiveQueryDataSourcePersistableSource
  11. val hdfsPath: Option[String]

    Permalink
  12. val hiveTableName: Option[String]

    Permalink
  13. val hiveViewName: Option[String]

    Permalink
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def manifest: Manifest[T]

    Permalink
    Definition Classes
    HiveQueryDataSourcePersistableSource
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val parameters: Map[String, String]

    Permalink
  20. def persist(strategy: Strategy[T, P]): PersistedDataSource[T, P]

    Permalink
    Definition Classes
    PersistableSource
  21. val query: String

    Permalink
  22. def runQuery(driver: Driver)(query: String, msg: String = ""): Unit

    Permalink
  23. val sources: Map[String, DataSource[_, _]]

    Permalink
  24. def structType: StructType

    Permalink
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toHiveTable(config: Config): Execution[MaterialisedHiveTable[T, P]]

    Permalink
    Definition Classes
    HiveQueryDataSourceDataSource
  27. def toHiveView(config: Config): Execution[HiveView[T, P]]

    Permalink
    Definition Classes
    HiveQueryDataSourceHiveViewSource
  28. def toTypedPipe(config: Config): Execution[TypedPipe[T]]

    Permalink
    Definition Classes
    HiveQueryDataSourceDataSource
  29. val udfs: Map[(String, String), Class[GenericUDF]]

    Permalink
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PersistableSource[T, P]

Inherited from HiveViewSource[T, P]

Inherited from DataSource[T, P]

Inherited from AnyRef

Inherited from Any

Ungrouped