Interface StatementIterator

All Superinterfaces:
AutoCloseable, CloseableIterator<Statement>, Iterator<Statement>
All Known Implementing Classes:
GraphQueryResultIterator, MultiStatementIterator

public interface StatementIterator extends CloseableIterator<Statement>

Interface which will iterate over a source of Statements.

Since:
0.3
Version:
6.0
Author:
Michael Grove, Evren Sirin
  • Method Details

    • namespaces

      default Namespaces namespaces()
      Returns namespaces associated with this statement iteration if any.
      Returns:
      possibly empty namespaces but never null
      Since:
      1.0.6
    • toGraph

      default Set<Statement> 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

      default void process(RDFHandler handler)