Class

com.ebiznext.comet.schema.model

AutoTaskDesc

Related Doc: package model

Permalink

case class AutoTaskDesc(sql: String, domain: String, dataset: String, write: WriteMode, partition: Option[List[String]] = None, presql: Option[List[String]] = None, postsql: Option[List[String]] = None, area: Option[StorageArea] = None, sink: Option[Sink] = None, rls: Option[List[RowLevelSecurity]] = None, assertions: Option[Map[String, String]] = None) extends Product with Serializable

Task executed in the context of a job. Each task is executed in its own session.

sql

Main SQL request to exexute (do not forget to prefix table names with the database name to avoid conflicts)

domain

Output domain in output Area (Will be the Database name in Hive or Dataset in BigQuery)

dataset

Dataset Name in output Area (Will be the Table name in Hive & BigQuery)

write

Append to or overwrite existing data

partition

List of columns used for partitioning the outtput.

presql

List of SQL requests to executed before the main SQL request is run

postsql

List of SQL requests to executed after the main SQL request is run

area

Target Area where domain / dataset will be stored.

sink

Where to sink the data

rls

Row level security policy to apply too the output data.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AutoTaskDesc
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AutoTaskDesc(sql: String, domain: String, dataset: String, write: WriteMode, partition: Option[List[String]] = None, presql: Option[List[String]] = None, postsql: Option[List[String]] = None, area: Option[StorageArea] = None, sink: Option[Sink] = None, rls: Option[List[RowLevelSecurity]] = None, assertions: Option[Map[String, String]] = None)

    Permalink

    sql

    Main SQL request to exexute (do not forget to prefix table names with the database name to avoid conflicts)

    domain

    Output domain in output Area (Will be the Database name in Hive or Dataset in BigQuery)

    dataset

    Dataset Name in output Area (Will be the Table name in Hive & BigQuery)

    write

    Append to or overwrite existing data

    partition

    List of columns used for partitioning the outtput.

    presql

    List of SQL requests to executed before the main SQL request is run

    postsql

    List of SQL requests to executed after the main SQL request is run

    area

    Target Area where domain / dataset will be stored.

    sink

    Where to sink the data

    rls

    Row level security policy to apply too the output data.

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. val area: Option[StorageArea]

    Permalink

    Target Area where domain / dataset will be stored.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val assertions: Option[Map[String, String]]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val dataset: String

    Permalink

    Dataset Name in output Area (Will be the Table name in Hive & BigQuery)

  9. val domain: String

    Permalink

    Output domain in output Area (Will be the Database name in Hive or Dataset in BigQuery)

  10. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getHiveDB(defaultArea: Option[StorageArea]): Option[String]

    Permalink
  14. def getPartitions(): List[String]

    Permalink
    Annotations
    @JsonIgnore()
  15. def getTargetPath(defaultArea: Option[StorageArea])(implicit settings: Settings): Option[Path]

    Permalink

    Return a Path only if a storage area s defined

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. val partition: Option[List[String]]

    Permalink

    List of columns used for partitioning the outtput.

  21. val postsql: Option[List[String]]

    Permalink

    List of SQL requests to executed after the main SQL request is run

  22. val presql: Option[List[String]]

    Permalink

    List of SQL requests to executed before the main SQL request is run

  23. val rls: Option[List[RowLevelSecurity]]

    Permalink

    Row level security policy to apply too the output data.

  24. val sink: Option[Sink]

    Permalink

    Where to sink the data

  25. val sql: String

    Permalink

    Main SQL request to exexute (do not forget to prefix table names with the database name to avoid conflicts)

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

    Permalink
    Definition Classes
    AnyRef
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. val write: WriteMode

    Permalink

    Append to or overwrite existing data

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped