Object Mapping Between Elasticsearch and JDBC Metadata
The Java Database Connectivity (JDBC) specification defines a set of entities that correspond to specific Elasticsearch objects. These common entities are catalogs, schemas, tables, indices, and columns. The JDBC API provides interfaces to access metadata using standard methods.
The following table lists the common JDBC entities and their corresponding Elasticsearch objects.
JDBC Object | Elasticsearch Object |
catalog | index |
schema | "default" |
table | type |
column | field |
Note: For Elasticsearch, the metadata API calls return no information on indices because all fields of an Elasticsearch document are indexed.