Package

com.criteo.scalaschemas.hive

queries

Permalink

package queries

Visibility
  1. Public
  2. All

Type Members

  1. case class HiveAddPartitionsQuery(schema: HiveSchema, partitionDefinitions: Traversable[HivePartitionDefinition]) extends HiveTableQuery with Product with Serializable

    Permalink

    A HiveQuery that adds one or more partitions to a table.

    A HiveQuery that adds one or more partitions to a table.

    schema

    The schema of the underlying table.

    partitionDefinitions

    The partitions to add.

  2. case class HiveCommandQuery(database: Option[String] = None, queryProperties: Option[HiveQueryProperties] = None) extends HiveQuery with Product with Serializable

    Permalink

    Allows to set the database and query properties during a query.

    Allows to set the database and query properties during a query.

    database

    The database in which to execute the command.

    queryProperties

    Any query-time properties.

  3. case class HiveCreateTableQuery(schema: HiveSchema) extends HiveTableQuery with Product with Serializable

    Permalink

    A HiveQuery that creates a table.

    A HiveQuery that creates a table.

    schema

    The schema of the underlying table.

  4. case class HiveDropPartitionsQuery(schema: HiveSchema, partitions: Traversable[HivePartitionValues]) extends HiveTableQuery with Product with Serializable

    Permalink

    A HiveQuery that drops one or more partitions from a table.

    A HiveQuery that drops one or more partitions from a table.

    schema

    The schema of the underlying table.

    partitions

    The partitions to drop.

  5. case class HiveDropTableQuery(schema: HiveSchema) extends HiveTableQuery with Product with Serializable

    Permalink

    A HiveQuery that drops a table.

    A HiveQuery that drops a table.

    schema

    The schema of the underlying table.

  6. case class HiveOutputQuery(schema: HiveSchema, outputQuery: String, partition: Option[HivePartitionValues]) extends HiveTableQuery with Product with Serializable

    Permalink

    A HiveQuery that inserts data into a table.

    A HiveQuery that inserts data into a table. Used for ETL type work, typically.

    schema

    The schema of the underlying table.

    outputQuery

    The insertion query.

    partition

    The partition to insert into, if any.

  7. trait HiveQuery extends AnyRef

    Permalink

    An encapsulation of a Hive query.

  8. case class HiveResourceQuery(jars: Option[HiveAddJars] = None, udfs: Option[HiveUDFs] = None) extends HiveQuery with Product with Serializable

    Permalink

    Allows to add the specified resources during a query.

    Allows to add the specified resources during a query.

    jars

    Any jars to add.

    udfs

    Any UDFs to create.

  9. case class HiveShowPartitionQuery(tableName: String, partition: Option[HivePartitionValues]) extends HiveQuery with Product with Serializable

    Permalink

    A HiveQuery that show partition(s) of a table.

    A HiveQuery that show partition(s) of a table.

    tableName

    The name of the table.

    partition

    The partition to restrict the show partition to, if any.

  10. abstract class HiveTableQuery extends HiveQuery

    Permalink

    A HiveQuery operating on a table.

Value Members

  1. package fragments

    Permalink

Ungrouped