org.openrdf.query
Interface GraphQueryResult

All Superinterfaces:
Cursor<Statement>, QueryResult<Statement>, Result<Statement>
All Known Subinterfaces:
GraphResult
All Known Implementing Classes:
BackgroundGraphResult, FutureGraphQueryResult, GraphResultImpl

Deprecated.

@Deprecated
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()
          Deprecated. Retrieves relevant namespaces from the query result.
 
Methods inherited from interface org.openrdf.result.Result
addTo, asList, asSet, hasNext, singleResult
 
Methods inherited from interface org.openrdf.cursor.Cursor
close, next, toString
 

Method Detail

getNamespaces

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

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


Copyright © 2001-2009 Aduna. All Rights Reserved.