public static class SPARQLUpdateEvent.LoadProgress extends SPARQLUpdateEvent
LOAD
.SPARQLUpdateEvent.DeleteInsertWhereStats, SPARQLUpdateEvent.LoadProgress
Constructor and Description |
---|
SPARQLUpdateEvent.LoadProgress(Update op,
long elapsed,
long nparsed,
boolean done) |
Modifier and Type | Method and Description |
---|---|
long |
getParsedCount()
Return the #of statements parsed as of the moment that this event was
generated.
|
boolean |
isDone()
Return
true iff the LOAD operation has finished parsing
the document. |
long |
triplesPerSecond()
Report the parser rate in triples per second.
|
getBatchResolveNanos, getCause, getConnectionFlushNanos, getDeleteInsertWhereStats, getElapsedNanos, getUpdate
public SPARQLUpdateEvent.LoadProgress(Update op, long elapsed, long nparsed, boolean done)
public long getParsedCount()
Note: Statements are incrementally written onto the backing store. Thus, the parser will often run ahead of the actual index writes. This can manifest as periods during which the "parsed" statement count climbs quickly followed by periods in which it is stable. That occurs when the parser is blocked because it can not add statements to the connection while the connection is being flushed to the database. There is a ticket to fix this blocking behavior so the parser can continue to run while we are flushing statements onto the database - see below.
public boolean isDone()
true
iff the LOAD operation has finished parsing
the document.
Note: This does not mean that the statements have been written through to the disk, just that the parsed is done running.
public long triplesPerSecond()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.