|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.rdf.inf.FullyBufferedJustificationIterator
public class FullyBufferedJustificationIterator
Fully buffers and then visits all Justifications for a given
statement.
| Field Summary |
|---|
| Fields inherited from interface com.bigdata.rdf.inf.IJustificationIterator |
|---|
log |
| Fields inherited from interface com.bigdata.striterator.IChunkedIterator |
|---|
DEFAULT_CHUNK_SIZE |
| Constructor Summary | |
|---|---|
FullyBufferedJustificationIterator(AbstractTripleStore db,
ISPO head)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes the iterator, releasing any associated resources. |
boolean |
hasNext()
|
Justification |
next()
The next element available from the iterator. |
Justification[] |
nextChunk()
Return the next "chunk" from the iterator. |
void |
remove()
Removes the last Justification visited from the database
(non-batch API). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FullyBufferedJustificationIterator(AbstractTripleStore db,
ISPO head)
db - head - The statement whose justifications will be materialized.| Method Detail |
|---|
public boolean hasNext()
hasNext in interface Iterator<Justification>public Justification next()
IChunkedIterator
next in interface IChunkedIterator<Justification>next in interface Iterator<Justification>public void remove()
Justification visited from the database
(non-batch API).
remove in interface IChunkedIterator<Justification>remove in interface Iterator<Justification>public void close()
ICloseableIterator
Note: Implementations that support Iterator.remove() MUST NOT
eagerly close the iterator when it is exhausted since that would make it
impossible to remove the last visited statement. Instead they MUST wait
for an explicit ICloseableIterator.close() by the application.
close in interface ICloseableIterator<Justification>public Justification[] nextChunk()
IChunkedIterator
nextChunk in interface IChunkedIterator<Justification>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||