Package org.eclipse.rdf4j.sail.solr
Class SolrBulkUpdater
- java.lang.Object
-
- org.eclipse.rdf4j.sail.solr.SolrBulkUpdater
-
- All Implemented Interfaces:
BulkUpdater
public class SolrBulkUpdater extends Object implements BulkUpdater
-
-
Constructor Summary
Constructors Constructor Description SolrBulkUpdater(org.apache.solr.client.solrj.SolrClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(SearchDocument doc)
void
delete(SearchDocument doc)
void
end()
void
update(SearchDocument doc)
-
-
-
Method Detail
-
add
public void add(SearchDocument doc) throws IOException
- Specified by:
add
in interfaceBulkUpdater
- Throws:
IOException
-
update
public void update(SearchDocument doc) throws IOException
- Specified by:
update
in interfaceBulkUpdater
- Throws:
IOException
-
delete
public void delete(SearchDocument doc) throws IOException
- Specified by:
delete
in interfaceBulkUpdater
- Throws:
IOException
-
end
public void end() throws IOException
- Specified by:
end
in interfaceBulkUpdater
- Throws:
IOException
-
-