T
- The query type. Used to support fluency.public abstract class OuterQuery<T extends OuterQuery<T>> extends Query<T>
Modifier and Type | Field and Description |
---|---|
protected Optional<Base> |
base |
protected Optional<PrefixDeclarations> |
prefixes |
Constructor and Description |
---|
OuterQuery() |
Modifier and Type | Method and Description |
---|---|
T |
base(Base base)
Set the Base clause of this query
|
T |
base(Iri iri)
Set the base IRI of this query
|
String |
getQueryString() |
T |
prefix(Prefix... prefixes)
Add prefix declarations to this query
|
T |
prefix(PrefixDeclarations prefixes)
Set the Prefix declarations of this query
|
protected Optional<PrefixDeclarations> prefixes
public T base(Iri iri)
iri
- the base IRIpublic T base(Base base)
base
- the Base
clause to setpublic T prefix(Prefix... prefixes)
prefixes
- the prefixes to addpublic T prefix(PrefixDeclarations prefixes)
prefixes
- the PrefixDeclarations
to setpublic String getQueryString()
getQueryString
in interface QueryElement
getQueryString
in class Query<T extends OuterQuery<T>>
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.