Package org.eclipse.rdf4j.query.parser
Class ParsedQuery
java.lang.Object
org.eclipse.rdf4j.query.parser.ParsedOperation
org.eclipse.rdf4j.query.parser.ParsedQuery
- Direct Known Subclasses:
ParsedBooleanQuery,ParsedGraphQuery,ParsedTupleQuery
Abstract super class of all query types that a query parser can generate.
- Author:
- Arjohn Kampman
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new query object.protectedParsedQuery(String sourceString) Creates a new query object.protectedParsedQuery(String sourceString, TupleExpr tupleExpr) Creates a new query object.protectedParsedQuery(String sourceString, TupleExpr tupleExpr, Dataset dataset) Creates a new query object.protectedParsedQuery(TupleExpr tupleExpr) Creates a new query object.protectedParsedQuery(TupleExpr tupleExpr, Dataset dataset) Creates a new query object. -
Method Summary
Modifier 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 org.eclipse.rdf4j.query.parser.ParsedOperation
getSourceString
-
Constructor Details
-
ParsedQuery
protected ParsedQuery()Creates a new query object. To complete this query, a tuple expression needs to be supplied to it usingsetTupleExpr(TupleExpr). -
ParsedQuery
Creates a new query object. To complete this query, a tuple expression needs to be supplied to it usingsetTupleExpr(TupleExpr). -
ParsedQuery
Creates a new query object.- Parameters:
tupleExpr- The tuple expression underlying this query.
-
ParsedQuery
Creates a new query object.- Parameters:
tupleExpr- The tuple expression underlying this query.
-
ParsedQuery
Creates a new query object.- Parameters:
tupleExpr- The tuple expression underlying this query.
-
ParsedQuery
Creates a new query object.- Parameters:
tupleExpr- The tuple expression underlying this query.
-
-
Method Details
-
getDataset
-
setDataset
-
setTupleExpr
Gets the tuple expression underlying this operation. -
getTupleExpr
Gets the tuple expression underlying this operation. -
toString
-
equals
-
hashCode
public int hashCode()
-