Class LoadQuery
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.GraphManagementQuery<LoadQuery>
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.LoadQuery
-
- All Implemented Interfaces:
QueryElement
public class LoadQuery extends GraphManagementQuery<LoadQuery>
A SPARQL LOAD Query- See Also:
- SPARQL LOAD Query
-
-
Constructor Summary
Constructors Constructor Description LoadQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadQuery
from(IRI from)
Specify which graph to load formLoadQuery
from(Iri from)
Specify which graph to load formjava.lang.String
getQueryString()
LoadQuery
to(IRI to)
Specify which graph to load into, if not the default graphLoadQuery
to(Iri to)
Specify which graph to load into, if not the default graph-
Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.query.GraphManagementQuery
appendSilent, silent, silent
-
-
-
-
Field Detail
-
LOAD
private static final java.lang.String LOAD
- See Also:
- Constant Field Values
-
INTO_GRAPH
private static final java.lang.String INTO_GRAPH
- See Also:
- Constant Field Values
-
from
private Iri from
-
to
private java.util.Optional<Iri> to
-
-
Method Detail
-
from
public LoadQuery from(Iri from)
Specify which graph to load form- Parameters:
from
- the IRI identifying the graph to load triples from- Returns:
- this LoadQuery instance
-
from
public LoadQuery from(IRI from)
Specify which graph to load form- Parameters:
from
- the IRI identifying the graph to load triples from- Returns:
- this LoadQuery instance
-
to
public LoadQuery to(Iri to)
Specify which graph to load into, if not the default graph- Parameters:
to
- the IRI identifying the graph to load into- Returns:
- this LoadQuery instance
-
to
public LoadQuery to(IRI to)
Specify which graph to load into, if not the default graph- Parameters:
to
- the IRI identifying the graph to load into- Returns:
- this LoadQuery instance
-
getQueryString
public java.lang.String getQueryString()
- Returns:
- the String representing the SPARQL syntax of this element
-
-