Class LoadQuery
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.LoadQuery
-
- All Implemented Interfaces:
QueryElement
public class LoadQuery extends Object
A SPARQL LOAD Query- See Also:
- SPARQL LOAD Query
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappendSilent(StringBuilder builder)LoadQueryfrom(IRI from)Specify which graph to load formLoadQueryfrom(Iri from)Specify which graph to load formStringgetQueryString()Tsilent()Set theSILENToption to true on this queryTsilent(boolean isSilent)Specify if theSILENToption should be on for this queryLoadQueryto(IRI to)Specify which graph to load into, if not the default graphLoadQueryto(Iri to)Specify which graph to load into, if not the default graph
-
-
-
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 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)
-
-