mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 14:54:56 +00:00
SQL's asciidoc files were all named `sql-the-thing.asciidoc` but our standard is to name asciidoc files `the-thing.asciidoc` and keep them in appropriate directories. relates elastic/x-pack-elasticsearch#3182 Original commit: elastic/x-pack-elasticsearch@ab81763ffd
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
[role="xpack"]
|
|
[[xpack-sql]]
|
|
= SQL Access
|
|
|
|
:sql-tests: {docdir}/../../qa/sql
|
|
:sql-specs: {sql-tests}/src/main/resources
|
|
:jdbc-tests: {sql-tests}/src/main/java/org/elasticsearch/xpack/qa/sql/jdbc
|
|
:security-tests: {sql-tests}/security/src/test/java/org/elasticsearch/xpack/qa/sql/security
|
|
|
|
[partintro]
|
|
--
|
|
X-Pack includes a SQL feature to execute SQL against Elasticsearch
|
|
indices and return tabular results. There are four main components:
|
|
|
|
<<sql-rest,REST API>>::
|
|
Accepts SQL in a JSON document, executes it, and returns the
|
|
results.
|
|
<<sql-translate,Translate API>>::
|
|
Accepts SQL in a JSON document and translates it into a native
|
|
Elasticsearch query and returns that.
|
|
<<sql-cli,CLI>>::
|
|
Command line application that connects to Elasticsearch to excute
|
|
SQL and print tabular results.
|
|
<<sql-jdbc,JDBC>>::
|
|
A JDBC driver for Elasticsearch.
|
|
--
|
|
|
|
include::getting-started.asciidoc[]
|
|
include::endpoints/index.asciidoc[]
|
|
include::functions/index.asciidoc[]
|
|
include::language/index.asciidoc[]
|
|
|
|
:jdbc-tests!:
|