public class BigdataTriplePatternMaterializer extends AbstractChunkedResolverator<BigdataTriplePattern,ISPO,AbstractTripleStore> implements ICloseableIterator<ISPO>
Note: If the input contains triple patterns that have a high cardinality in the data, then a large number of statements may be returned.
|Constructor and Description|
|Modifier and Type||Method and Description|
Resolves the elements in a source chunk, returning a chunk of resolved elements.
Creates and runs a task that will consume chunks from the source iterator, resolve the elements in each chunk, and place the resolved chunks onto the
close, hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BigdataTriplePatternMaterializer(AbstractTripleStore db, IChunkedOrderedIterator<BigdataTriplePattern> src)
public BigdataTriplePatternMaterializer start(ExecutorService service)
You MUST invoke this before consuming results from the iterator.
Implementations SHOULD strengthen the return type.
protected ISPO resolveChunk(BigdataTriplePattern chunk)
Note: This method is invoked by the
ChunkConsumerTask which runs
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.