public class SPARQLUpdateOperation extends Object implements TransactionOperation, Serializable
| Constructor and Description |
|---|
SPARQLUpdateOperation() |
SPARQLUpdateOperation(String updateString,
String baseURI,
boolean includeInferred,
org.eclipse.rdf4j.query.Dataset dataset,
org.eclipse.rdf4j.query.Binding... bindings) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(RepositoryConnection con)
Executes this operation on the supplied connection.
|
String |
getBaseURI() |
org.eclipse.rdf4j.query.Binding[] |
getBindings() |
org.eclipse.rdf4j.query.Dataset |
getDataset() |
String |
getUpdateString() |
boolean |
isIncludeInferred() |
void |
setBaseURI(String baseURI) |
void |
setBindings(org.eclipse.rdf4j.query.Binding[] bindings) |
void |
setDataset(org.eclipse.rdf4j.query.Dataset dataset) |
void |
setIncludeInferred(boolean includeInferred) |
void |
setUpdateString(String updateString) |
public SPARQLUpdateOperation()
public SPARQLUpdateOperation(String updateString, String baseURI, boolean includeInferred, org.eclipse.rdf4j.query.Dataset dataset, org.eclipse.rdf4j.query.Binding... bindings)
public void execute(RepositoryConnection con) throws RepositoryException
TransactionOperationexecute in interface TransactionOperationcon - The connection the operation should be performed on.RepositoryException - If such an exception is thrown by the connection while executing the operation.public String getUpdateString()
public void setUpdateString(String updateString)
updateString - The updateString to set.public String getBaseURI()
public void setBaseURI(String baseURI)
baseURI - The baseURI to set.public boolean isIncludeInferred()
public void setIncludeInferred(boolean includeInferred)
includeInferred - The includeInferred to set.public org.eclipse.rdf4j.query.Dataset getDataset()
public void setDataset(org.eclipse.rdf4j.query.Dataset dataset)
dataset - The dataset to set.public org.eclipse.rdf4j.query.Binding[] getBindings()
public void setBindings(org.eclipse.rdf4j.query.Binding[] bindings)
bindings - The bindings to set.Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.