protected static class AbstractTestCase.StatementVerifier extends BasicRioLoader
defaultGraph, log, stmtsAdded
Constructor and Description |
---|
AbstractTestCase.StatementVerifier(AbstractTripleStore db,
int capacity,
AtomicInteger nerrs,
int maxerrors) |
Modifier and Type | Method and Description |
---|---|
org.openrdf.rio.RDFHandler |
newRDFHandler()
Note: YOU MUST override this method to install a different
RDFHandler . |
protected void |
success()
Extended to flush the
buffer . |
addRioLoaderListener, before, cleanUp, error, getInsertRate, getInsertTime, getParser, getStatementsAdded, loadRdf, loadRdf, loadRdf2, notifyListeners, removeRioLoaderListener
public AbstractTestCase.StatementVerifier(AbstractTripleStore db, int capacity, AtomicInteger nerrs, int maxerrors)
db
- The database.capacity
- The buffer capacity (the maximum #of statements to be
processed in a batch).nerrs
- Used to track and report the #of errors as a side-effect.maxerrors
- The maximum #of errors before the test will abort.protected void success()
buffer
.success
in class BasicRioLoader
public org.openrdf.rio.RDFHandler newRDFHandler()
BasicRioLoader
RDFHandler
. The default is the BasicRDFHandler
which
does NOTHING.newRDFHandler
in class BasicRioLoader
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.