public class RDFLoadTaskFactory<S extends org.openrdf.model.Statement,T extends Runnable> extends AbstractRDFTaskFactory<S,T>
db, deleteAfter, fallback, log, parserOptions
Constructor and Description |
---|
RDFLoadTaskFactory(AbstractTripleStore db,
int bufferCapacity,
RDFParserOptions parserOptions,
boolean deleteafter,
org.openrdf.rio.RDFFormat fallback) |
RDFLoadTaskFactory(AbstractTripleStore db,
RDFParserOptions parserOptions,
boolean deleteafter,
org.openrdf.rio.RDFFormat fallback,
IStatementBufferFactory factory) |
Modifier and Type | Method and Description |
---|---|
CounterSet |
getCounters()
Sets up some additional counters for reporting by the client to the
ILoadBalancerService . |
String |
reportTotals()
Report totals.
|
elapsed, getBufferFactory, getRDFFormat, newTask, notifyEnd, notifyStart
public RDFLoadTaskFactory(AbstractTripleStore db, int bufferCapacity, RDFParserOptions parserOptions, boolean deleteafter, org.openrdf.rio.RDFFormat fallback)
db
- bufferCapacity
- verifyData
- deleteAfter
- if the file should be deleted once it has been loaded.fallback
- An attempt will be made to determine the interchange syntax
using RDFFormat
. If no determination can be made then
the loader will presume that the files are in the format
specified by this parameter (if any). Files whose format can
not be determined will be logged as errors.public RDFLoadTaskFactory(AbstractTripleStore db, RDFParserOptions parserOptions, boolean deleteafter, org.openrdf.rio.RDFFormat fallback, IStatementBufferFactory factory)
db
- verifyData
- deleteAfter
- if the file should be deleted once it has been loaded.fallback
- An attempt will be made to determine the interchange syntax
using RDFFormat
. If no determination can be made then
the loader will presume that the files are in the format
specified by this parameter (if any). Files whose format can
not be determined will be logged as errors.factory
- Used to buffer and load statements.public CounterSet getCounters()
ILoadBalancerService
.public String reportTotals()
Note: these totals reflect the actual state of the database, not just the #of triples written by this client. Therefore if there are concurrent writers then the apparent TPS here will be higher than was reported by the counters for just this client -- all writers on the database will have been attributed to just this client.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.