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 void
appendSilent(StringBuilder builder)
String
getQueryString()
CreateQuery
graph(IRI graph)
CreateQuery
graph(Iri graph)
Specify the graph to createT
silent()
Set theSILENT
option to true on this queryT
silent(boolean isSilent)
Specify if theSILENT
option 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(IRI graph)
-
getQueryString
public String getQueryString()
- Returns:
- the String representing the SPARQL syntax of this element
-
silent
public T silent()
Set theSILENT
option to true on this query- Returns:
- this query instance
-
silent
public T silent(boolean isSilent)
Specify if theSILENT
option 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)
-
-