Class TargetedGraphManagementQuery<T extends TargetedGraphManagementQuery<T>>
- java.lang.Object
-
- 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 Object
-
-
Constructor Summary
Constructors Constructor Description TargetedGraphManagementQuery()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Tall()Target all graphsprotected voidappendSilent(StringBuilder builder)Tdef()Target the default graphprotected abstract StringgetQueryActionString()StringgetQueryString()Tgraph(IRI graph)Specify which graph to targetTgraph(Iri graph)Specify which graph to targetTnamed()Target all named graphsTsilent()Set theSILENToption to true on this queryTsilent(boolean isSilent)Specify if theSILENToption should be on for this query
-
-
-
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
-
getQueryActionString
protected abstract String getQueryActionString()
-
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)
-
-