Skip to content

Quasar plugin providing the ability to push results into a H2 database

License

Notifications You must be signed in to change notification settings

precog/quasar-destination-h2

Repository files navigation

quasar-destination-h2 Discord

Usage

libraryDependencies += "com.precog" %% "quasar-destination-h2" % <version>

Configuration

Configuration for the H2 destination has the following JSON format

{
  "connectionUri": String
  [, "server": {
    [ "init": Object }]
    [, "tcp": { "args": Array String }]
    [, "pg": { "args": Array String }]
    }
  ]
}
  • connectionUri: the H2 connection URL without the leading jdbc:.
  • server: (optional) the H2 server configuration:
    • init: (optional) specifies how to initialize the H2 server. Object has the following format: { "url": String, "user": String, "password": String, "script": String } where url is the connection URL to use to initialize the database including the leading jdbc:, user is the username to use, password is the password to use and script is the SQL script to initialize the database with.
    • tcp: (optional) if included a tcp server will be started with the specified args. Please refer to H2 Server docs for the supported args.
    • pg: (optional) if included a postgres server will be started with the specified args. Please refer to H2 Server docs for the supported args.

About

Quasar plugin providing the ability to push results into a H2 database

Resources

License

Stars

Watchers

Forks

Packages