Class DeleteDataQuery
java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.query.DeleteDataQuery
- All Implemented Interfaces:
QueryElement
The SPARQL Delete Data Query
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DeleteDataQuery
addTriples
(TriplePattern... triples) protected void
appendNamedTriplesTemplates
(StringBuilder queryString, Optional<GraphName> graphName, TriplesTemplate triples) Set the base IRI of this querySet the Base clause of this querySet the base IRI of this querydeleteData
(TriplesTemplate triplesTemplate) Set this query's triples templatedeleteData
(TriplePattern... triples) Add triples to be deletedSpecify a graph to delete the data fromprotected String
protected String
Add prefix declarations to this queryAdd prefix declarations to this queryprefix
(PrefixDeclarations prefixes) Set the Prefix declarations of this queryprotected DeleteDataQuery
setTriplesTemplate
(TriplesTemplate triplesTemplate)
-
Field Details
-
triplesTemplate
-
graphName
-
-
Constructor Details
-
DeleteDataQuery
public DeleteDataQuery()
-
-
Method Details
-
deleteData
Add triples to be deleted- Parameters:
triples
- the triples to add to this delete data query- Returns:
- this Delete Data query instance
-
deleteData
Set this query's triples template- Parameters:
triplesTemplate
- theTriplesTemplate
instance to set- Returns:
- this instance
-
from
Specify a graph to delete the data from- Parameters:
graph
- the identifier of the graph- Returns:
- this Delete Data query instance
-
getPrefix
-
addTriples
-
setTriplesTemplate
-
graph
-
getQueryActionString
-
base
Set the base IRI of this query- Parameters:
iri
- the base IRI- Returns:
- this
-
base
Set the base IRI of this query- Parameters:
iri
- the base IRI- Returns:
- this
-
base
Set the Base clause of this query- Parameters:
base
- theBase
clause to set- Returns:
- this
-
prefix
Add prefix declarations to this query- Parameters:
prefixes
- the prefixes to add- Returns:
- this
-
prefix
Add prefix declarations to this query- Parameters:
namespaces
- the namespaces to use for prefixes- Returns:
-
prefix
Set the Prefix declarations of this query- Parameters:
prefixes
- thePrefixDeclarations
to set- Returns:
- this
-
getQueryString
- Specified by:
getQueryString
in interfaceQueryElement
- Returns:
- the String representing the SPARQL syntax of this element
-
appendNamedTriplesTemplates
protected void appendNamedTriplesTemplates(StringBuilder queryString, Optional<GraphName> graphName, TriplesTemplate triples)
-