Class ElasticsearchBulkUpdater
- java.lang.Object
-
- org.eclipse.rdf4j.sail.elasticsearch.ElasticsearchBulkUpdater
-
- All Implemented Interfaces:
BulkUpdater
public class ElasticsearchBulkUpdater extends Object implements BulkUpdater
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchBulkUpdater(org.elasticsearch.client.Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(SearchDocument doc)voiddelete(SearchDocument doc)voidend()voidupdate(SearchDocument doc)
-
-
-
Method Detail
-
add
public void add(SearchDocument doc) throws IOException
- Specified by:
addin interfaceBulkUpdater- Throws:
IOException
-
update
public void update(SearchDocument doc) throws IOException
- Specified by:
updatein interfaceBulkUpdater- Throws:
IOException
-
delete
public void delete(SearchDocument doc) throws IOException
- Specified by:
deletein interfaceBulkUpdater- Throws:
IOException
-
end
public void end() throws IOException- Specified by:
endin interfaceBulkUpdater- Throws:
IOException
-
-