Class IteratingGraphQueryResult

All Implemented Interfaces:
AutoCloseable, Iterable<Statement>, Iterator<Statement>, CloseableIteration<Statement>, GraphQueryResult, QueryResult<Statement>

public class IteratingGraphQueryResult extends IterationWrapper<Statement> implements GraphQueryResult
An iterating implementation of the GraphQueryResult interface.
Author:
Arjohn Kampman, Jeen Broekstra
  • Constructor Details Link icon

  • Method Details Link icon

    • getNamespaces Link icon

      public Map<String,String> getNamespaces()
      Description copied from interface: GraphQueryResult
      Retrieves relevant namespaces from the query result.
      The contents of the Map may be modified after it is returned, as the initial return may be performed when the first RDF Statement is encountered.
      Specified by:
      getNamespaces in interface GraphQueryResult
      Returns:
      a Map<String, String> object containing (prefix, namespace) pairs.