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
ConstructorsConstructorDescriptionCreates 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 ParsedQuery
equals, getDataset, getTupleExpr, hashCode, setDataset, setTupleExpr, toStringModifier and TypeMethodDescriptionbooleanGets the tuple expression underlying this operation.inthashCode()voidsetDataset(Dataset dataset) voidsetTupleExpr(TupleExpr tupleExpr) Gets the tuple expression underlying this operation.toString()Methods inherited from class 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
-