com.bigdata.rdf.store
Class BigdataStatementIteratorImpl
java.lang.Object
com.bigdata.striterator.AbstractChunkedResolverator<ISPO,BigdataStatement,AbstractTripleStore>
com.bigdata.rdf.store.BigdataStatementIteratorImpl
- All Implemented Interfaces:
- BigdataStatementIterator, ICloseableIterator<BigdataStatement>, Iterator<BigdataStatement>
public class BigdataStatementIteratorImpl
- extends AbstractChunkedResolverator<ISPO,BigdataStatement,AbstractTripleStore>
- implements BigdataStatementIterator
Efficiently resolve term identifiers in Bigdata ISolutions to RDF
BigdataValues.
- Version:
- $Id: BigdataStatementIteratorImpl.java 4837 2011-07-05 13:31:31Z thompsonbry $
- Author:
- Bryan Thompson
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BigdataStatementIteratorImpl
public BigdataStatementIteratorImpl(AbstractTripleStore db,
IChunkedOrderedIterator<ISPO> src)
- Parameters:
db - Used to resolve term identifiers to Value objects.src - The source iterator (will be closed when this iterator is
closed).
BigdataStatementIteratorImpl
public BigdataStatementIteratorImpl(AbstractTripleStore db,
Map<IV,BigdataBNode> bnodes,
IChunkedOrderedIterator<ISPO> src)
- Parameters:
db - Used to resolve term identifiers to Value objects.bnodes - An optional map of known blank node term identifiers and the
corresponding BigdataBNodeImpl objects. This map may
be used to resolve blank node term identifiers to blank node
objects across a "connection" context.src - The source iterator (will be closed when this iterator is
closed).
start
public BigdataStatementIteratorImpl start(ExecutorService service)
- Strengthens the return type.
- Overrides:
start in class AbstractChunkedResolverator<ISPO,BigdataStatement,AbstractTripleStore>
- Parameters:
service - The service on which the task will be executed.
resolveChunk
protected BigdataStatement[] resolveChunk(ISPO[] chunk)
- Resolve a chunk of
ISPOs into a chunk of BigdataStatements.
- Specified by:
resolveChunk in class AbstractChunkedResolverator<ISPO,BigdataStatement,AbstractTripleStore>
- Parameters:
chunk - The next chunk from the source iterator.
- Returns:
- The resolved chunk.
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.