org.openrdf.query.impl
Class GraphQueryResultImpl
java.lang.Object
info.aduna.iteration.CloseableIterationBase<E,X>
info.aduna.iteration.IterationWrapper<Statement,QueryEvaluationException>
org.openrdf.query.impl.GraphQueryResultImpl
- All Implemented Interfaces:
- CloseableIteration<Statement,QueryEvaluationException>, Iteration<Statement,QueryEvaluationException>, GraphQueryResult, QueryResult<Statement>
public class GraphQueryResultImpl
- extends IterationWrapper<Statement,QueryEvaluationException>
- implements GraphQueryResult
An utility implementation of the GraphQueryResult interface.
- Author:
- Arjohn Kampman, jeen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphQueryResultImpl
public GraphQueryResultImpl(Map<String,String> namespaces,
Iterable<? extends Statement> statements)
GraphQueryResultImpl
public GraphQueryResultImpl(Map<String,String> namespaces,
Iterator<? extends Statement> statementIter)
GraphQueryResultImpl
public GraphQueryResultImpl(Map<String,String> namespaces,
CloseableIteration<? extends Statement,? extends QueryEvaluationException> statementIter)
getNamespaces
public Map<String,String> getNamespaces()
- Description copied from interface:
GraphQueryResult
- Retrieves relevant namespaces from the query result.
- Specified by:
getNamespaces in interface GraphQueryResult
- Returns:
- a Map object containing (prefix, namespace)
pairs.
Copyright © 2001-2008 Aduna. All Rights Reserved.