Class SPARQLBooleanQuery
- 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.sparql.query.SPARQLBooleanQuery
-
- All Implemented Interfaces:
org.eclipse.rdf4j.query.BooleanQuery,org.eclipse.rdf4j.query.Operation,org.eclipse.rdf4j.query.Query
public class SPARQLBooleanQuery extends AbstractHTTPQuery implements org.eclipse.rdf4j.query.BooleanQuery
Parses boolean query response from remote stores.- Author:
- James Leigh
-
-
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 SPARQLBooleanQuery(SPARQLProtocolSession httpClient, String baseURI, String queryString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanevaluate()org.eclipse.rdf4j.query.explanation.Explanationexplain(org.eclipse.rdf4j.query.explanation.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
-
-
-
-
Constructor Detail
-
SPARQLBooleanQuery
public SPARQLBooleanQuery(SPARQLProtocolSession httpClient, String baseURI, String queryString)
-
-
Method Detail
-
evaluate
public boolean evaluate() throws org.eclipse.rdf4j.query.QueryEvaluationException- Specified by:
evaluatein interfaceorg.eclipse.rdf4j.query.BooleanQuery- Throws:
org.eclipse.rdf4j.query.QueryEvaluationException
-
explain
public org.eclipse.rdf4j.query.explanation.Explanation explain(org.eclipse.rdf4j.query.explanation.Explanation.Level level)
- Specified by:
explainin interfaceorg.eclipse.rdf4j.query.Query
-
-