Class DestinationSourceManagementQuery<T extends DestinationSourceManagementQuery<T>>
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.GraphManagementQuery<DestinationSourceManagementQuery<T>>
-
- 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 GraphManagementQuery<DestinationSourceManagementQuery<T>>
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 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 java.lang.String
getQueryActionString()
java.lang.String
getQueryString()
T
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-
Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.query.GraphManagementQuery
appendSilent, silent, silent
-
-
-
-
Field Detail
-
DEFAULT
private static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
-
TO
private static final java.lang.String TO
- See Also:
- Constant Field Values
-
from
private java.util.Optional<Iri> from
-
to
private java.util.Optional<Iri> to
-
fromDefault
private boolean fromDefault
-
toDefault
private boolean toDefault
-
-
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 java.lang.String getQueryActionString()
-
getQueryString
public java.lang.String getQueryString()
- Returns:
- the String representing the SPARQL syntax of this element
-
-