Class DestinationSourceManagementQuery<T extends DestinationSourceManagementQuery<T>>
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.DestinationSourceManagementQuery<T>
-
- Type Parameters:
T
- the type of the query; used to support fluency
- All Implemented Interfaces:
QueryElement
public abstract class DestinationSourceManagementQuery<T extends DestinationSourceManagementQuery<T>> extends Object
A SPARQL Update Query that has a source and a destination
-
-
Constructor Summary
Constructors Constructor Description DestinationSourceManagementQuery()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
appendSilent(StringBuilder builder)
T
from(IRI from)
T
from(Iri from)
Specify the query source graphT
fromDefault()
Specify that the source graph of this query should be the default graphT
fromDefault(boolean fromDefault)
Specify if this query's source should be the default graphprotected abstract String
getQueryActionString()
String
getQueryString()
T
silent()
Set theSILENT
option to true on this queryT
silent(boolean isSilent)
Specify if theSILENT
option should be on for this queryT
to(IRI to)
Specify the query destination graphT
to(Iri to)
Specify the query destination graphT
toDefault()
Specify that the destination graph of this query should be the default graphT
toDefault(boolean toDefault)
Specify if this query's destination should be the default graph
-
-
-
Method Detail
-
from
public T from(Iri from)
Specify the query source graph- Parameters:
from
- the Iri identifying the source graph- Returns:
- this query instance
-
to
public T to(Iri to)
Specify the query destination graph- Parameters:
to
- the Iri identifying the destination graph- Returns:
- this query instance
-
to
public T to(IRI to)
Specify the query destination graph- Parameters:
to
- the Iri identifying the destination graph- Returns:
- this query instance
-
fromDefault
public T fromDefault()
Specify that the source graph of this query should be the default graph- Returns:
- this query instance
-
fromDefault
public T fromDefault(boolean fromDefault)
Specify if this query's source should be the default graph- Parameters:
fromDefault
- if this query's source should be the default graph- Returns:
- this query instance
-
toDefault
public T toDefault()
Specify that the destination graph of this query should be the default graph- Returns:
- this query instance
-
toDefault
public T toDefault(boolean toDefault)
Specify if this query's destination should be the default graph- Parameters:
toDefault
- if this query's destination should be the default graph- Returns:
- this query instance
-
getQueryActionString
protected abstract String getQueryActionString()
-
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)
-
-