Package com.complexible.common.rdf
Interface StatementIterator
- All Superinterfaces:
AutoCloseable,CloseableIterator<Statement>,Iterator<Statement>
- All Known Implementing Classes:
GraphQueryResultIterator,MultiStatementIterator
Interface which will iterate over a source of Statements.
- Since:
- 0.3
- Version:
- 6.0
- Author:
- Michael Grove, Evren Sirin
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.complexible.common.base.CloseableIterator
CloseableIterator.AbstractCloseableIterator<T>, CloseableIterator.DelegatingCloseableIterator<T>, CloseableIterator.EmptyCloseableIterator<T> -
Method Summary
Modifier and TypeMethodDescriptiondefault NamespacesReturns namespaces associated with this statement iteration if any.default voidprocess(RDFHandler handler) toGraph()Transform the contents of the iterator into a graph.Methods inherited from interface com.complexible.common.base.CloseableIterator
closeMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
namespaces
Returns namespaces associated with this statement iteration if any.- Returns:
- possibly empty namespaces but never
null - Since:
- 1.0.6
-
toGraph
Transform the contents of the iterator into a graph.- Returns:
- the iterator contents as a graph
- Implementation Notes:
- This iterator set is closed as a side effect of the call.
-
process
-