Packages

  • package root
    Definition Classes
    root
  • package csw
    Definition Classes
    root
  • package database

    This module provides the client implementation of data access stored in postgres server.

    Database Service

    This module provides the client implementation of data access stored in postgres server. To access the database service, it is expected that developers create an instance of DatabaseServiceFactory.

    Example: DatabaseServiceFactory
    val system = ActorSystem(Behaviors.empty, "test") // in component handlers the ActorSystem should be provided from ActorContext e.g. ctx.system
    val dbFactory = new DatabaseServiceFactory(system)
    val dsl: DSLContext = dbFactory.makeDsl(locationService, "postgres") // postgres is a dbName here

    There are overloads of makeDsl() available. Once the DSLContext is created, it can be used to access data from postgres.

    Complete guide of different flavours of makeDsl() and how to use DSLContext to access data is available at: https://tmtsoftware.github.io/csw/services/database.html

    Definition Classes
    csw
  • package exceptions
    Definition Classes
    database
  • package javadsl
    Definition Classes
    database
  • AsyncHelper
  • JooqHelper
  • package scaladsl
    Definition Classes
    database

package javadsl

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Value Members

  1. object AsyncHelper

    A java helper to schedule and execute blocking operations on a dedicated thread pool.

    A java helper to schedule and execute blocking operations on a dedicated thread pool. This mechanism will prevent any blocking operation to be scheduled on a thread pool designated for async operations.

  2. object JooqHelper

    A java helper wrapping few of the Jooq operations.

    A java helper wrapping few of the Jooq operations. JOOQ is a library that provides the mechanism to communicate with Database server. To know in detail about Jooq please refer https://www.jooq.org/learn/.

Ungrouped