Class CreateQuery
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.GraphManagementQuery<CreateQuery>
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.CreateQuery
-
- All Implemented Interfaces:
QueryElement
public class CreateQuery extends GraphManagementQuery<CreateQuery>
A SPARQL CREATE Query- See Also:
- SPARQL CREATE Query
-
-
Constructor Summary
Constructors Constructor Description CreateQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getQueryString()
CreateQuery
graph(IRI graph)
CreateQuery
graph(Iri graph)
Specify the graph to create-
Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.query.GraphManagementQuery
appendSilent, silent, silent
-
-
-
-
Field Detail
-
CREATE
private static final java.lang.String CREATE
- See Also:
- Constant Field Values
-
GRAPH
private static final java.lang.String GRAPH
- See Also:
- Constant Field Values
-
graph
private Iri graph
-
-
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 java.lang.String getQueryString()
- Returns:
- the String representing the SPARQL syntax of this element
-
-