Apache Calcite Avatica with DBine

How to connect DBine to Apache Calcite Avatica and what you can do once it's connected. This page is written from what the Apache Calcite Avatica driver says about itself, so it matches the version of DBine you download.

Connect

  1. In DBine, open New connection.
  2. Pick Apache Calcite Avatica in the list of engines.
  3. Fill in the fields below, press Test connection and then Save.

Default port: 8765.

General

FieldDescription
Server requiredExample: localhost
PortExample: 8765
User
PasswordKept in the system keychain, never in DBine's files.
Read-onlyOn or off.

SSH tunnel. The connection can go through an SSH server, even through a chain of bastions, with a password, a private key or the SSH agent. The server's fingerprint is checked against known_hosts or confirmed the first time.

SSL/TLS

FieldDescription
Encrypt the connection (TLS)On or off.
Trust the server certificateOn or off.

Advanced

FieldDescription
Server pathThe Avatica server's HTTP path: “/” in Calcite and Phoenix, “/druid/v2/sql/avatica/” in Druid.
Example: /
SerializationThe server's (in Druid, “/druid/v2/sql/avatica-protobuf/” uses protobuf).
Options: JSON (default), Protobuf
Default: JSON (default)

What the explorer shows

The objects appear right under the connection:

Query editor

The editor uses SQL, with completion for the connection's objects. Statements and commands run against the database selected in the tab.

Tools for Apache Calcite Avatica

Available

  • Graphical execution plans
  • Manual transactions (commit and rollback)
  • Native bulk load when migrating data

Not available for Apache Calcite Avatica

  • Live query profiler
  • Server monitor
  • Sessions and running queries
  • End a session
  • Locks: who blocks whom
  • Cancel another session's query from the sessions list
  • Index usage
  • Create databases
  • Drop databases
  • Database properties
  • Relations in the ER diagram
  • Visual designer for new objects
  • Rename objects
  • Compare and sync schemas
  • Clone tables
  • Users and permissions
  • Backups

Why a tool doesn't apply to an engine, and the details of each one, are in the engine support reference.

Generated from the Apache Calcite Avatica driver 0.1.10, which DBine downloads the first time you connect to Apache Calcite Avatica.

Download DBineAll engines