Class ConstructQuery
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.Query<T>
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.OuterQuery<ConstructQuery>
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.ConstructQuery
-
- All Implemented Interfaces:
QueryElement
public class ConstructQuery extends OuterQuery<ConstructQuery>
The SPARQL CONSTRUCT query- See Also:
- SPARQL CONSTRUCT Query
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstructQuery
construct(GraphTemplate construct)
Set this query's graph templateConstructQuery
construct(TriplePattern... patterns)
Add triples to this query's graph templateprotected String
getQueryActionString()
-
Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.query.OuterQuery
base, base, base, getQueryString, prefix, prefix, prefix
-
-
-
-
Method Detail
-
construct
public ConstructQuery construct(TriplePattern... patterns)
Add triples to this query's graph template- Parameters:
patterns
- the triples to include in the graph template- Returns:
- this
-
construct
public ConstructQuery construct(GraphTemplate construct)
Set this query's graph template- Parameters:
construct
- theGraphTemplate
to set- Returns:
- this
-
getQueryActionString
protected String getQueryActionString()
- Specified by:
getQueryActionString
in classQuery<ConstructQuery>
-
-