Package

com.criteo.cuttle

utils

Permalink

package utils

A set of basic utilities useful to write workflows.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. utils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. object Timeout

    Permalink

    Creates a Future that resolve automatically after the given duration.

  2. def transactor(config: DatabaseConfig): XA

    Permalink

    Get a doobie transactor

    Get a doobie transactor

    config

    Database configuration

  3. def updateSchema(table: String, schemaEvolutions: List[doobie.ConnectionIO[_]]): Free[ConnectionOp, Unit]

    Permalink

    Executes unapplied schema evolutions

    Executes unapplied schema evolutions

    table

    Name of the table that keeps track of applied schema changes

    schemaEvolutions

    List of schema evolutions (should be append-only)

Inherited from AnyRef

Inherited from Any

Ungrouped