JDBC Connectivity: Connecting Colrows to Your BI & AI Stack
Colrows functions as a standard JDBC data source. Your existing BI tools, SQL editors, and custom AI agents can connect to your governed semantic layer without changing a single line of your application code.
The connectivity overview
Architects need to know the integration landscape at a glance. Here is how a standard JDBC contract maps to the Colrows compiler.
| Feature | JDBC Compatibility | Colrows Advantage |
|---|---|---|
| Standardization | Universal (BI tools, SQL clients, JVM apps) | Fully compliant. JDBC 4.2 driver. Zero migration cost. |
| Logic | Transparent SQL pass through | Governed and compiled. Every SELECT is bound, planned, and proven before execution. |
| Latency | Low (proxy based) | Optimized direct compiler path. No round trip through a BI server. |
| Security | Standard authentication | Compile time access control. RBAC, ABAC, and row level policies enforced before the warehouse sees the query. |
The architecture gap that JDBC closes
Most semantic layer products force you to throw away your BI investment, adopt a vendor specific connector, or run queries through a heavy presentation tier proxy. The Colrows JDBC driver collapses that gap. Two ideas do the work.
The driver advantage
Colrows exposes a standard JDBC interface. Tableau, Power BI, DBeaver, JetBrains, dbt, Superset, and any in house JVM application connect with the same contract they already use for a warehouse. There is no vendor specific connector to certify, no Power Query bridge to maintain, no SDK to ship in your agents.
Your tools speak SQL. The driver translates that contract into the semantic layer without your application code changing.
The compiler path
Every JDBC call routes through the Colrows semantic compiler. By the time the warehouse sees a statement, it has already been bound, validated, governed, and dialect translated. Four deterministic stages, in order:
- Bind. Parse the incoming
SELECT, resolve every identifier against the versioned semantic graph, apply persona scope. - Plan. Solve the join path proof, apply constraint logic, push down predicates, choose a cost optimal plan.
- Govern. Apply RBAC, ABAC, row level filters, and column masks. Stamp a trace ID into the result set.
- Emit. Generate dialect perfect SQL for the target warehouse. Snowflake, Databricks, Postgres, Trino, ClickHouse, Oracle, SQL Server.
Standardize your connection. Determinize your results. Fix the context, not the model.
Driver download
Download the latest signed driver from Settings → Drivers → JDBC. The artifact is a single fat JAR (colrows-jdbc-1.5.x.jar, ~7 MB) with no external dependencies. JDBC 4.2 compliant. Java 11+.
Connection string
jdbc:colrows://api.colrows.com/v1?workspace=acme&persona=regional_analyst
Authentication is via API key passed as the JDBC password. The username field is ignored. Example for DBeaver:
URL: jdbc:colrows://api.colrows.com/v1?workspace=acme
Driver: com.colrows.jdbc.Driver
User: (any)
Password: cl_live_8a2c…
What is different from a raw warehouse driver
- Compilation in the loop. Every
SELECTthe client issues is parsed, bound, planned, and dialect translated through Colrows. The warehouse only ever sees a governed, dialect perfect statement. - Catalog reflection returns the semantic graph. Your BI tool sees governed concepts and dimensions instead of a thousand internal tables.
- Persona aware metadata. Two analysts pointing the same Tableau workbook at Colrows see different catalogs because their personas resolve different allowed subgraphs.
- Trace IDs in result sets. Every result includes a
__trace_idcolumn that resolves to the full audit trace.
Tested clients
| Tool | Notes |
|---|---|
| Tableau Desktop / Server | Use as "Other databases (JDBC)". Custom dialect file included in the driver bundle. |
| Power BI Desktop | Via the JDBC custom connector framework. Power Query M template provided. |
| Microsoft Excel | Through the Power Query JDBC bridge. |
| DBeaver / DataGrip | First class. Add the driver JAR. Metadata browsing works out of the box. |
| dbt | Use the dbt-colrows adapter. Models compile through the semantic layer. |
| Apache Superset | Use the JDBC SQLAlchemy dialect. |
| Custom AI agents | Any JVM agent. The driver returns governed, deterministic results suitable for downstream LLM reasoning. |
Most semantic layer tools force you to throw away your BI investment. The Colrows JDBC driver lets your existing tools inherit compile time governance with zero migration.
Limitations
- The driver supports
SELECTand metadata reflection only.INSERT,UPDATE, and DDL are not exposed. Colrows is a semantic execution layer, not a write path. - Some BI tools cache catalog metadata aggressively. Refresh the connection after promoting new concepts.
- Streaming result sets are paginated server side. Very large extracts should use the HTTP API async export endpoint instead.
See these connections in action
JDBC is a contract. The value is what sits behind it. Two technical reads pair with this page:
Ready to connect your stack to a deterministic layer?
Book a technical integration review →