Class UpdateQuery<T extends UpdateQuery<T>>
java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.query.UpdateQuery<T>
- Type Parameters:
T- The type of update query. Used to support fluency.
- All Implemented Interfaces:
QueryElement
- Direct Known Subclasses:
ModifyQuery, UpdateDataQuery
A SPARQL Update query
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendNamedTriplesTemplates(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 queryprotected abstract StringAdd prefix declarations to this queryAdd prefix declarations to this queryprefix(PrefixDeclarations prefixes) Set the Prefix declarations of this query
-
Field Details
-
base
-
prefixes
-
-
Constructor Details
-
UpdateQuery
UpdateQuery()
-
-
Method Details
-
base
-
base
-
base
-
prefix
-
prefix
-
prefix
Set the Prefix declarations of this query- Parameters:
prefixes- thePrefixDeclarationsto set- Returns:
- this
-
getQueryActionString
-
getQueryString
- Specified by:
getQueryStringin interfaceQueryElement- Returns:
- the String representing the SPARQL syntax of this element
-
appendNamedTriplesTemplates
protected void appendNamedTriplesTemplates(StringBuilder queryString, Optional<GraphName> graphName, TriplesTemplate triples)
-