|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.rdf.spo.StatementWriter
SPORelation.insert(IChunkedOrderedIterator)? (Still
used by copyStatements)
public class StatementWriter
Writes statements on all the statement indices in parallel.
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
log
Deprecated. |
AtomicLong |
nwritten
Deprecated. Incremented by the #of statements written on the statements indices. |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
Long |
call()
Deprecated. Writes on the statement indices (parallel, batch api). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger log
public final AtomicLong nwritten
| Constructor Detail |
|---|
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 SPOs to be written.nwritten - Incremented by the #of statements written on the statement
indices as a side-effect.IElementFilter here.
public StatementWriter(AbstractTripleStore database,
AbstractTripleStore statementStore,
boolean copyOnly,
IChunkedOrderedIterator<ISPO> itr,
AtomicLong nwritten,
IChangeLog changeLog)
| Method Detail |
|---|
public Long call()
throws Exception
call in interface Callable<Long>Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||