Package org.eclipse.rdf4j.query.parser
Class ParsedBooleanQuery
java.lang.Object
org.eclipse.rdf4j.query.parser.ParsedOperation
org.eclipse.rdf4j.query.parser.ParsedQuery
org.eclipse.rdf4j.query.parser.ParsedBooleanQuery
- Direct Known Subclasses:
ParsedBooleanTemplate
A query formulated in the OpenRDF query algebra that produces a boolean value as its result.
- Author:
- Arjohn Kampman
-
Constructor Summary
ConstructorDescriptionCreates a new boolean query.ParsedBooleanQuery
(String sourceString, TupleExpr tupleExpr) Creates a new boolean query for the supplied tuple expression.ParsedBooleanQuery
(TupleExpr tupleExpr) Creates a new boolean query for the supplied tuple expression. -
Method Summary
Methods inherited from class org.eclipse.rdf4j.query.parser.ParsedQuery
equals, getDataset, getTupleExpr, hashCode, setDataset, setTupleExpr, toString
Methods inherited from class org.eclipse.rdf4j.query.parser.ParsedOperation
getSourceString
-
Constructor Details
-
ParsedBooleanQuery
public ParsedBooleanQuery()Creates a new boolean query. To complete this query, a tuple expression needs to be supplied to it usingParsedQuery.setTupleExpr(TupleExpr)
. -
ParsedBooleanQuery
Creates a new boolean query for the supplied tuple expression.- Parameters:
tupleExpr
- A tuple expression representing the query, formulated in OpenRDF Query Algebra objects.
-
ParsedBooleanQuery
Creates a new boolean query for the supplied tuple expression.- Parameters:
tupleExpr
- A tuple expression representing the query, formulated in OpenRDF Query Algebra objects.
-