public interface StmtIterator extends ExtendedIterator<Statement>
RDF iterators are standard Java iterators, except that they
have extras method to return specifically typed objects,
in this case RDF Statements and have a close()
method
that should be called to free resources if the application does
not complete the iteration.
Modifier and Type | Method and Description |
---|---|
Statement |
nextStatement()
Return the next Statement of the iteration.
|
default Model |
toModel()
Answer a Model of the [remaining] Statements of this iterator, consuming this
iterator.
|
andThen, filterDrop, filterKeep, mapWith, nextOptional, removeNext, toList, toSet
close
forEachRemaining, hasNext, next, remove
Statement nextStatement() throws NoSuchElementException
NoSuchElementException
- if there are no more to be returned.default Model toModel()
Licenced under the Apache License, Version 2.0