public class ElasticsearchSchema
extends org.apache.calcite.schema.impl.AbstractSchema
| Constructor and Description |
|---|
ElasticsearchSchema(org.elasticsearch.client.RestClient client,
com.fasterxml.jackson.databind.ObjectMapper mapper,
String index)
Allows schema to be instantiated from existing elastic search client.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,org.apache.calcite.schema.Table> |
getTableMap() |
public ElasticsearchSchema(org.elasticsearch.client.RestClient client,
com.fasterxml.jackson.databind.ObjectMapper mapper,
String index)
client - existing client instancemapper - mapper for JSON (de)serializationindex - name of ES indexCopyright © 2012-2020 Apache Software Foundation. All Rights Reserved.