Package org.eclipse.rdf4j.query.parser
Class ParsedUpdate
java.lang.Object
org.eclipse.rdf4j.query.parser.ParsedOperation
org.eclipse.rdf4j.query.parser.ParsedUpdate
- Direct Known Subclasses:
ParsedUpdateTemplate
A parsed update sequence formulated in the OpenRDF query algebra.
- Author:
- Jeen Broekstra
-
Constructor Summary
ConstructorDescriptionCreates a new update sequence.ParsedUpdate
(String sourceString) ParsedUpdate
(String sourceString, Map<String, String> namespaces) ParsedUpdate
(Map<String, String> namespaces) Creates a new update sequence. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addUpdateExpr
(UpdateExpr updateExpr) void
map
(UpdateExpr updateExpr, Dataset dataset) toString()
Methods inherited from class org.eclipse.rdf4j.query.parser.ParsedOperation
getSourceString
-
Constructor Details
-
ParsedUpdate
public ParsedUpdate()Creates a new update sequence. To complete this update sequence, one or more update expressions need to be supplied to it usingaddUpdateExpr(UpdateExpr)
. -
ParsedUpdate
-
ParsedUpdate
-
ParsedUpdate
Creates a new update sequence. To complete this update sequence, one or update expressions need to be supplied to it usingaddUpdateExpr(UpdateExpr)
.- Parameters:
namespaces
- A mapping of namespace prefixes to namespace names representing the namespaces that are used in the update.
-
-
Method Details
-
getNamespaces
-
addUpdateExpr
-
getUpdateExprs
-
map
- Parameters:
updateExpr
- The updateExpr to map to a dataset.dataset
- the dataset that applies to the updateExpr. May be null.
-
getDatasetMapping
- Returns:
- Returns the map of update expressions and associated datasets.
-
toString
-