Adapter Online Help > TDV Elasticsearch Adapter > Schema Mapping
 
Schema Mapping
The Elasticsearch Adapter models the Elasticsearch REST APIs as relational tables and stored procedures that can be accessed with standard SQL. This enables access from standards-based tools.
The table definitions are dynamically retrieved. When you connect, the adapter connects to Elasticsearch and retrieves the schemas, list of tables, and the metadata for the tables by querying the Elasticsearch REST server. Any changes to the remote data are immediately reflected in your queries.
The following table maps Elasticsearch concepts to relational ones:
 
Elasticsearch Concept
SQL Concept
Index
Schema
Type
Table
Alias
View
Document
Row (each document is a row and the document's JSON structure is represented as columns)
Field
Column