Class AbstractParserUpdate
java.lang.Object
org.eclipse.rdf4j.query.impl.AbstractOperation
org.eclipse.rdf4j.query.impl.AbstractUpdate
org.eclipse.rdf4j.query.parser.impl.AbstractParserUpdate
- Author:
- Jeen Broekstra
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.query.impl.AbstractOperation
bindings, dataset, includeInferred
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Dataset
getMergedDataset
(Dataset sparqlDefinedDataset) Determines the active dataset by appropriately merging the pre-set dataset and the dataset defined in the SPARQL operation itself.toString()
Methods inherited from class org.eclipse.rdf4j.query.impl.AbstractOperation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.query.Operation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime
-
Constructor Details
-
AbstractParserUpdate
-
-
Method Details
-
getParsedUpdate
-
toString
-
getMergedDataset
Determines the active dataset by appropriately merging the pre-set dataset and the dataset defined in the SPARQL operation itself. If the SPARQL operation contains WITH, USING, or USING NAMED clauses, these should override whatever is preset.- Parameters:
sparqlDefinedDataset
- the dataset as defined in the SPARQL update itself.- Returns:
- a
Dataset
comprised of a merge between the pre-set dataset and the SPARQL-defined dataset.
-