Class OuterQuery<T extends OuterQuery<T>>
java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.query.Query<T>
org.eclipse.rdf4j.sparqlbuilder.core.query.OuterQuery<T>
- Type Parameters:
T- The query type. Used to support fluency.
- All Implemented Interfaces:
QueryElement
- Direct Known Subclasses:
ConstructQuery, SelectQuery
A non-subquery query.
-
Field Summary
FieldsFields inherited from class Query
bnodeCount, from, groupBy, having, limit, LIMIT, offset, OFFSET, orderBy, values, varCount, whereModifier and TypeFieldDescriptionprotected intprotected intprotected static final Stringprotected intprotected static final Stringprotected intprotected QueryPattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the base IRI of this querySet the Base clause of this querySet the base IRI of this queryAdd prefix declarations to this queryAdd prefix declarations to this queryprefix(PrefixDeclarations prefixes) Set the Prefix declarations of this queryMethods inherited from class Query
bNode, from, from, getQueryActionString, groupBy, groupBy, having, having, limit, offset, orderBy, orderBy, values, var, where, whereModifier and TypeMethodDescriptionbNode()A shortcut.Set the Dataset clause for this queryAdd datasets to this queryprotected abstract StringAdd grouping specifiers for the query results.Set this query's Group By clausehaving(Expression<?>... constraints) Specify constraints for this query's Having clause.Set this query's Having clauselimit(int limit) Set a limit on the number of results returned by this query.offset(int offset) Specify an offset in query results.Specify orderings for the query resultsSet this query's Order By clausevalues(Consumer<Values.VariablesBuilder> valuesConfigurer) var()A shortcut.where(QueryPattern where) Set the query pattern of this querywhere(GraphPattern... queryPatterns) Add graph patterns to this query's query pattern
-
Field Details
-
base
-
prefixes
-
-
Constructor Details
-
OuterQuery
public OuterQuery()
-
-
Method Details
-
base
-
base
-
base
-
prefix
-
prefix
-
prefix
Set the Prefix declarations of this query- Parameters:
prefixes- thePrefixDeclarationsto set- Returns:
- this
-
getQueryString
- Specified by:
getQueryStringin interfaceQueryElement- Overrides:
getQueryStringin classQuery<T extends OuterQuery<T>>- Returns:
- the String representing the SPARQL syntax of this element
-