Class CreateQuery
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.CreateQuery
-
- All Implemented Interfaces:
QueryElement
public class CreateQuery extends Object
A SPARQL CREATE Query- See Also:
- SPARQL CREATE Query
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappendSilent(StringBuilder builder)StringgetQueryString()CreateQuerygraph(org.eclipse.rdf4j.model.IRI graph)CreateQuerygraph(Iri graph)Specify the graph to createTsilent()Set theSILENToption to true on this queryTsilent(boolean isSilent)Specify if theSILENToption should be on for this query
-
-
-
Method Detail
-
graph
public CreateQuery graph(Iri graph)
Specify the graph to create- Parameters:
graph- the IRI identifier for the new graph- Returns:
- this CreateQuery instance
-
graph
public CreateQuery graph(org.eclipse.rdf4j.model.IRI graph)
-
getQueryString
public String getQueryString()
- Returns:
- the String representing the SPARQL syntax of this element
-
silent
public T silent()
Set theSILENToption to true on this query- Returns:
- this query instance
-
silent
public T silent(boolean isSilent)
Specify if theSILENToption should be on for this query- Parameters:
isSilent- if this should be a SILENT operation or not- Returns:
- this query instance
-
appendSilent
protected void appendSilent(StringBuilder builder)
-
-