/
/
JDBC

Elasticsearch JDBC Driver

Easily connect live Elasticsearch data with Java-based BI, ETL, reporting, AI/ML & custom apps.

Decorative Icon Elasticsearch Logo
Claude
Claude
GitHub Copilot
Gemini
New
CData Drivers now work with AI Coding tools

The Elasticsearch JDBC Driver enables users to connect with live Elasticsearch data, directly from any applications that support JDBC connectivity. Rapidly create and deploy powerful Java applications that integrate with Elasticsearch.

JDBC architecture

Elasticsearch JDBC Connectivity Features

  • SQL-92 access to Elasticsearch data with no server add-ons
  • Connect to all Elasticsearch subscriptions: Basic through Platinum
  • Fully compatible with Elasticsearch v.2.2 and above
  • Advanced feature support, including write access, search type logic, arrays, nested objects, and JOINs
  • Enables SQL-92 capabilities on Elasticsearch NoSQL data.
  • Flexible NoSQL flattening - automatic schema generation, flexible querying etc.
  • Connect to live Elasticsearch data, for real-time data access with the Elasticsearch JDBC Driver
  • Full support for data aggregation and complex JOINs in SQL queries
  • Secure connectivity through modern cryptography, including TLS 1.2, SHA-256, ECC, etc.
  • Seamless integration with leading BI, reporting, and ETL tools and with custom applications via the Elasticsearch Connector.

Target Service, API

The driver connects to Elasticsearch clusters via REST API. Supports Elasticsearch 5.x, 6.x, 7.x, and 8.x versions including Amazon OpenSearch.

Schema, Data Model

Models Elasticsearch indexes as tables with automatic schema inference from mappings. Supports nested objects and arrays with flattening options.

Key Objects

Indexes (as tables), Documents (as rows), Fields (as columns), and Aliases. Access to all Elasticsearch data types including nested and geo types.

Operations

SQL queries translated to Elasticsearch Query DSL. Supports filtering, aggregations, sorting, and full-text search. Read operations with some write capabilities depending on version.

Authentication

Basic authentication with Username/Password, API keys, AWS authentication for Amazon OpenSearch, and SSL/TLS support. Connects via HTTP/HTTPS endpoints.

Start a 30-day free trial today

JDBC access to Elasticsearch

Full-featured and consistent SQL access to any supported data source through JDBC


See what you can do with Elasticsearch JDBC Driver

ETL, Data Warehouse
Data integration & ETL

Integrate Elasticsearch into your systems and data warehouses through popular Java-based ETL/EAI tools. Supports both self-hosted environments and cloud service deployment.

BI, Reporting, Virtualization
BI, reporting & data virtualization

Connect to Elasticsearch from any JDBC-compatible BI, reporting, and data virtualization platform. Provides seamless integration using SQL as the standard query interface across all tools.

Custom Java Applications
Custom Java applications

Use the Elasticsearch JDBC Driver to rapidly deliver Java-based applications that connect with Elasticsearch. Universal SQL-based interactivity simplifies integration and speeds time to market.

Connect to Elasticsearch—empower every team

Management & Data Consumer
IT Department
ISVs & cloud service vendors

AI-assisted development with CData CLI

Build Elasticsearch integrations faster with AI that understands your schema

Schema-aware AI

CData CLI gives AI coding tools access to your Elasticsearch schema. No more guessing table names or column types—AI sees the same metadata in your JDBC Drivers.

Your AI knows SQL

How to find table names, column names, and how to generate SQL syntax are things that AI knows well from millions of training data. No need for customization, no hallucinations. Your AI acts like a domain specialist to Elasticsearch.

More accurate, more token-efficient

With CData CLI's queryable schema detection and highly efficient queries with filters, aggregation, joins with correct pushdown, your AI will achieve more accuracy with less token usage.

Supported AI Coding Tools
Download CData CLI
FAQs

Frequently asked Elasticsearch JDBC driver questions

Learn more about Elasticsearch JDBC drivers for data and analytics integration

Ready to get started? Try CData for free today