public class ElasticsearchOperation extends com.lordofthejars.nosqlunit.core.AbstractCustomizableDatabaseOperation<ElasticsearchConnectionCallback,io.searchbox.client.JestClient>
| Constructor and Description |
|---|
ElasticsearchOperation(io.searchbox.client.JestClient client,
boolean deleteAllIndices,
boolean createIndices,
Map<String,Object> indexSettings,
Map<String,Map<String,Object>> templates) |
| Modifier and Type | Method and Description |
|---|---|
io.searchbox.client.JestClient |
connectionManager() |
boolean |
databaseIs(InputStream expectedData) |
void |
deleteAll() |
void |
insert(InputStream dataScript) |
public void insert(InputStream dataScript)
public void deleteAll()
public boolean databaseIs(InputStream expectedData)
public io.searchbox.client.JestClient connectionManager()
Copyright © 2017. All rights reserved.