public class MemStatementIterator<X extends Exception> extends LookAheadIteration<MemStatement,X>
| Constructor and Description |
|---|
MemStatementIterator(MemStatementList statementList,
MemResource subject,
MemIRI predicate,
MemValue object,
Boolean explicit,
int snapshot,
MemResource... contexts)
Creates a new MemStatementIterator that will iterate over the statements contained in the supplied
MemStatementList searching for statements that match the specified pattern of subject, predicate, object and
context(s).
|
| Modifier and Type | Method and Description |
|---|---|
protected MemStatement |
getNextElement()
Searches through statementList, starting from index _nextStatementIdx + 1, for statements that match the
constraints that have been set for this iterator.
|
handleClose, hasNext, next, removeclose, isClosedpublic MemStatementIterator(MemStatementList statementList, MemResource subject, MemIRI predicate, MemValue object, Boolean explicit, int snapshot, MemResource... contexts)
statementList - the statements over which to iterate.subject - subject of pattern.predicate - predicate of pattern.object - object of pattern.contexts - context(s) of pattern.protected MemStatement getNextElement()
getNextElement in class LookAheadIteration<MemStatement,X extends Exception>Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.