public class RecordEsDAO extends EsDAO implements IRecordDAO<org.elasticsearch.action.index.IndexRequest>
| Constructor and Description |
|---|
RecordEsDAO(ElasticSearchClient client,
StorageBuilder<Record> storageBuilder) |
| Modifier and Type | Method and Description |
|---|---|
org.elasticsearch.action.index.IndexRequest |
prepareBatchInsert(String modelName,
Record record) |
queryBuildgetClientpublic RecordEsDAO(ElasticSearchClient client, StorageBuilder<Record> storageBuilder)
public org.elasticsearch.action.index.IndexRequest prepareBatchInsert(String modelName, Record record) throws IOException
prepareBatchInsert in interface IRecordDAO<org.elasticsearch.action.index.IndexRequest>IOExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.