public class IndicatorEsDAO extends EsDAO implements IIndicatorDAO<org.elasticsearch.action.index.IndexRequest,org.elasticsearch.action.update.UpdateRequest>
| Constructor and Description |
|---|
IndicatorEsDAO(ElasticSearchClient client,
StorageBuilder<Indicator> storageBuilder) |
| Modifier and Type | Method and Description |
|---|---|
Indicator |
get(String modelName,
Indicator indicator) |
org.elasticsearch.action.index.IndexRequest |
prepareBatchInsert(String modelName,
Indicator indicator) |
org.elasticsearch.action.update.UpdateRequest |
prepareBatchUpdate(String modelName,
Indicator indicator) |
queryBuildgetClientpublic IndicatorEsDAO(ElasticSearchClient client, StorageBuilder<Indicator> storageBuilder)
public Indicator get(String modelName, Indicator indicator) throws IOException
get in interface IIndicatorDAO<org.elasticsearch.action.index.IndexRequest,org.elasticsearch.action.update.UpdateRequest>IOExceptionpublic org.elasticsearch.action.index.IndexRequest prepareBatchInsert(String modelName, Indicator indicator) throws IOException
prepareBatchInsert in interface IIndicatorDAO<org.elasticsearch.action.index.IndexRequest,org.elasticsearch.action.update.UpdateRequest>IOExceptionpublic org.elasticsearch.action.update.UpdateRequest prepareBatchUpdate(String modelName, Indicator indicator) throws IOException
prepareBatchUpdate in interface IIndicatorDAO<org.elasticsearch.action.index.IndexRequest,org.elasticsearch.action.update.UpdateRequest>IOExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.