Class TargetedGraphManagementQuery<T extends TargetedGraphManagementQuery<T>>
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.GraphManagementQuery<TargetedGraphManagementQuery<T>>
-
- org.eclipse.rdf4j.sparqlbuilder.core.query.TargetedGraphManagementQuery<T>
-
- All Implemented Interfaces:
QueryElement
- Direct Known Subclasses:
ClearQuery
,DropQuery
public abstract class TargetedGraphManagementQuery<T extends TargetedGraphManagementQuery<T>> extends GraphManagementQuery<TargetedGraphManagementQuery<T>>
-
-
Constructor Summary
Constructors Constructor Description TargetedGraphManagementQuery()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
all()
Target all graphsT
def()
Target the default graphprotected abstract java.lang.String
getQueryActionString()
java.lang.String
getQueryString()
T
graph(IRI graph)
Specify which graph to targetT
graph(Iri graph)
Specify which graph to targetT
named()
Target all named graphsprivate T
target(java.lang.String target)
-
Methods inherited from class org.eclipse.rdf4j.sparqlbuilder.core.query.GraphManagementQuery
appendSilent, silent, silent
-
-
-
-
Field Detail
-
GRAPH
private static final java.lang.String GRAPH
- See Also:
- Constant Field Values
-
DEFAULT
private static final java.lang.String DEFAULT
- See Also:
- Constant Field Values
-
NAMED
private static final java.lang.String NAMED
- See Also:
- Constant Field Values
-
ALL
private static final java.lang.String ALL
- See Also:
- Constant Field Values
-
target
private java.lang.String target
-
graph
private java.util.Optional<Iri> graph
-
-
Method Detail
-
graph
public T graph(Iri graph)
Specify which graph to target- Parameters:
graph
- the IRI identifying the graph to target- Returns:
- this query instance
-
graph
public T graph(IRI graph)
Specify which graph to target- Parameters:
graph
- the IRI identifying the graph to target- Returns:
- this query instance
-
def
public T def()
Target the default graph- Returns:
- this query instance
-
named
public T named()
Target all named graphs- Returns:
- this query instance
-
all
public T all()
Target all graphs- Returns:
- this query instance
-
target
private T target(java.lang.String target)
-
getQueryActionString
protected abstract java.lang.String getQueryActionString()
-
getQueryString
public java.lang.String getQueryString()
- Returns:
- the String representing the SPARQL syntax of this element
-
-