SPORelation.insert(IChunkedOrderedIterator)
? (Still
used by copyStatements)public class StatementWriter extends Object implements Callable<Long>
Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
log
Deprecated.
|
AtomicLong |
nwritten
Deprecated.
Incremented by the #of statements written on the statements indices.
|
Constructor and Description |
---|
StatementWriter(AbstractTripleStore database,
AbstractTripleStore statementStore,
boolean copyOnly,
IChunkedOrderedIterator<ISPO> itr,
AtomicLong nwritten)
Deprecated.
|
StatementWriter(AbstractTripleStore database,
AbstractTripleStore statementStore,
boolean copyOnly,
IChunkedOrderedIterator<ISPO> itr,
AtomicLong nwritten,
IChangeLog changeLog)
Deprecated.
|
protected static final org.apache.log4j.Logger log
public final AtomicLong nwritten
public StatementWriter(AbstractTripleStore database, AbstractTripleStore statementStore, boolean copyOnly, IChunkedOrderedIterator<ISPO> itr, AtomicLong nwritten)
database
- The database. If statement identifiers are being generated
then they will always be added using the lexicon associated
with the database.statementStore
- The store on which the statements will be written (the focus
store if you are doing truth maintenance and otherwise the
database).copyOnly
- See
{@link AbstractTripleStore#addStatements(AbstractTripleStore, boolean, IChunkedOrderedIterator, IElementFilter)itr
- The source iterator for the SPO
s to be written.nwritten
- Incremented by the #of statements written on the statement
indices as a side-effect.public StatementWriter(AbstractTripleStore database, AbstractTripleStore statementStore, boolean copyOnly, IChunkedOrderedIterator<ISPO> itr, AtomicLong nwritten, IChangeLog changeLog)
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.