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
getNamespaces
Map<String,String> getNamespaces()
- Retrieves relevant namespaces from the query result.
- Returns:
- a Map object containing (prefix, namespace)
pairs.
Copyright © 2001-2008 Aduna. All Rights Reserved.