cryogenian / quasar-destination-h2

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:Scala 68.7%Language:Shell 30.2%Language:Batchfile 1.2%