Class HTTPGraphQuery
- java.lang.Object
-
- org.eclipse.rdf4j.query.impl.AbstractOperation
-
- org.eclipse.rdf4j.query.impl.AbstractQuery
-
- org.eclipse.rdf4j.http.client.query.AbstractHTTPQuery
-
- org.eclipse.rdf4j.repository.http.HTTPGraphQuery
-
- All Implemented Interfaces:
GraphQuery,Operation,Query
public class HTTPGraphQuery extends AbstractHTTPQuery implements GraphQuery
GraphQuery implementation specific to the HTTP protocol. Methods in this class may throw the specific RepositoryException subclass UnautorizedException, the semantics of which is defined by the HTTP protocol.- Author:
- Arjohn Kampman, Herko ter Horst, Andreas Schwarte
- See Also:
UnauthorizedException
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.query.Query
Query.QueryType
-
-
Field Summary
-
Fields inherited from class org.eclipse.rdf4j.http.client.query.AbstractHTTPQuery
baseURI, queryLanguage, queryString
-
Fields inherited from class org.eclipse.rdf4j.query.impl.AbstractOperation
bindings, dataset, includeInferred
-
-
Constructor Summary
Constructors Constructor Description HTTPGraphQuery(org.eclipse.rdf4j.repository.http.HTTPRepositoryConnection conn, QueryLanguage ql, String queryString, String baseURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphQueryResultevaluate()voidevaluate(RDFHandler handler)Explanationexplain(Explanation.Level level)-
Methods inherited from class org.eclipse.rdf4j.http.client.query.AbstractHTTPQuery
getBindingsArray, getHttpClient, setMaxExecutionTime, toString
-
Methods inherited from class org.eclipse.rdf4j.query.impl.AbstractQuery
getMaxQueryTime, setMaxQueryTime
-
Methods inherited from class org.eclipse.rdf4j.query.impl.AbstractOperation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.query.Operation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime
-
Methods inherited from interface org.eclipse.rdf4j.query.Query
getMaxQueryTime, setMaxQueryTime
-
-
-
-
Constructor Detail
-
HTTPGraphQuery
public HTTPGraphQuery(org.eclipse.rdf4j.repository.http.HTTPRepositoryConnection conn, QueryLanguage ql, String queryString, String baseURI)
-
-
Method Detail
-
evaluate
public GraphQueryResult evaluate() throws QueryEvaluationException
- Specified by:
evaluatein interfaceGraphQuery- Throws:
QueryEvaluationException
-
evaluate
public void evaluate(RDFHandler handler) throws QueryEvaluationException, RDFHandlerException
- Specified by:
evaluatein interfaceGraphQuery- Throws:
QueryEvaluationExceptionRDFHandlerException
-
explain
public Explanation explain(Explanation.Level level)
-
-