E
- public static class RDFJoinNexus.InsertSPOAndJustificationBuffer<E> extends AbstractSolutionBuffer<E>
IMutableRelation#insert(IChunkedIterator)
when it is
flushed
.AbstractSolutionBuffer.DeleteSolutionBuffer<E>, AbstractSolutionBuffer.InsertSolutionBuffer<E>
Constructor and Description |
---|
RDFJoinNexus.InsertSPOAndJustificationBuffer(int capacity,
IMutableRelation<E> relation) |
Modifier and Type | Method and Description |
---|---|
protected long |
flush(IChunkedOrderedIterator<ISolution<E>> itr)
|
flush, getRelation
public RDFJoinNexus.InsertSPOAndJustificationBuffer(int capacity, IMutableRelation<E> relation)
capacity
- relation
- protected long flush(IChunkedOrderedIterator<ISolution<E>> itr)
AbstractSolutionBuffer
ISolution
s, causing
the appropriate mutation on the target IRelation
.
Note: The ISolution
s generally appear in an arbitrary order.
They can either be resolved to IRelation
elements or be sorted
into ordered ISolution
chunks using a SolutionComparator
.
flush
in class AbstractSolutionBuffer<E>
itr
- The iterator (the order of the elements is unknown).Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.