com.franz.agraph.repository
Class AGGraphQuery
java.lang.Object
org.openrdf.query.impl.AbstractQuery
com.franz.agraph.repository.AGQuery
com.franz.agraph.repository.AGGraphQuery
- All Implemented Interfaces:
- GraphQuery, Query
public class AGGraphQuery
- extends AGQuery
- implements GraphQuery
Implements the Sesame GraphQuery interface for AllegroGraph.
Methods inherited from class com.franz.agraph.repository.AGQuery |
analyze, getBindingsArray, getEntailmentRegime, getLanguage, getName, getPlanner, getQueryString, isCheckVariables, isPrepared, setCheckVariables, setEntailmentRegime, setIncludeInferred, setPlanner, setPrepared, setSaveName, toString |
AGGraphQuery
public AGGraphQuery(AGRepositoryConnection con,
QueryLanguage ql,
String queryString,
String baseURI)
- Creates an AGGraphQuery instance for the given connection.
- Parameters:
con
- the connection.ql
- the query language.queryString
- the query.baseURI
- the base URI for the query.
evaluate
public GraphQueryResult evaluate()
throws QueryEvaluationException
- Evaluates the query and returns a GraphQueryResult.
- Specified by:
evaluate
in interface GraphQuery
- Throws:
QueryEvaluationException
evaluate
public void evaluate(RDFHandler handler)
throws QueryEvaluationException,
RDFHandlerException
- Evaluates the query and uses handler to process the result.
- Specified by:
evaluate
in interface GraphQuery
- Throws:
QueryEvaluationException
RDFHandlerException