org.openrdf.query
Interface GraphQueryResult

All Superinterfaces:
CloseableIteration<Statement,QueryEvaluationException>, Iteration<Statement,QueryEvaluationException>, QueryResult<Statement>
All Known Implementing Classes:
GraphQueryResultImpl

public interface GraphQueryResult
extends QueryResult<Statement>

A representation of a query result as a sequence of Statement objects. Each query result consists of zero or more Statements and additionaly carries information about relevant namespace declarations. Note: take care to always close a GraphQueryResult after use to free any resources it keeps hold of.

Author:
jeen

Method Summary
 Map<String,String> getNamespaces()
          Retrieves relevant namespaces from the query result.
 
Methods inherited from interface info.aduna.iteration.CloseableIteration
close
 
Methods inherited from interface info.aduna.iteration.Iteration
hasNext, next, remove
 

Method Detail

getNamespaces

Map<String,String> getNamespaces()
Retrieves relevant namespaces from the query result.

Returns:
a Map object containing (prefix, namespace) pairs.


Copyright © 2001-2010 Aduna. All Rights Reserved.