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
-
Constructor Summary
-
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 query
-
Field Details
-
base
-
prefixes
-
-
Constructor Details
-
OuterQuery
public OuterQuery()
-
-
Method Details
-
base
Set the base IRI of this query- Parameters:
iri
- the base IRI- Returns:
- this
-
base
Set the base IRI of this query- Parameters:
iri
- the base IRI- Returns:
- this
-
base
Set the Base clause of this query- Parameters:
base
- theBase
clause to set- Returns:
- this
-
prefix
Add prefix declarations to this query- Parameters:
prefixes
- the prefixes to add- Returns:
- this
-
prefix
Add prefix declarations to this query- Parameters:
namespaces
- the namespaces to use for prefixes- Returns:
-
prefix
Set the Prefix declarations of this query- Parameters:
prefixes
- thePrefixDeclarations
to set- Returns:
- this
-
getQueryString
- Specified by:
getQueryString
in interfaceQueryElement
- Overrides:
getQueryString
in classQuery<T extends OuterQuery<T>>
- Returns:
- the String representing the SPARQL syntax of this element
-