| org.openrdf.sail.memory.model.MemStatementIterator
MemStatementIterator | public class MemStatementIterator extends CloseableIterationBase (Code) | | A StatementIterator that can iterate over a list of Statement objects. This
iterator compares Resource and Literal objects using the '==' operator, which
is possible thanks to the extensive sharing of these objects in the
MemoryStore.
|
Constructor Summary | |
public | MemStatementIterator(MemStatementList statementList, MemResource subject, MemURI predicate, MemValue object, boolean explicitOnly, int snapshot, ReadMode readMode, 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. |
MemStatementIterator | public MemStatementIterator(MemStatementList statementList, MemResource subject, MemURI predicate, MemValue object, boolean explicitOnly, int snapshot, ReadMode readMode, MemResource... contexts)(Code) | | 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.
Parameters: statementList - the statements over which to iterate. Parameters: subject - subject of pattern. Parameters: predicate - predicate of pattern. Parameters: object - object of pattern. Parameters: context - context of pattern. |
handleClose | protected void handleClose() throws X(Code) | | |
hasNext | public boolean hasNext()(Code) | | |
remove | public void remove()(Code) | | Throws an UnsupportedOperationException.
|
|
|