public class SPARQLUpdateOperation extends Object implements TransactionOperation, Serializable
Constructor and Description |
---|
SPARQLUpdateOperation() |
SPARQLUpdateOperation(String updateString,
String baseURI,
boolean includeInferred,
Dataset dataset,
Binding... bindings) |
Modifier and Type | Method and Description |
---|---|
void |
execute(RepositoryConnection con)
Executes this operation on the supplied connection.
|
String |
getBaseURI() |
Binding[] |
getBindings() |
Dataset |
getDataset() |
String |
getUpdateString() |
boolean |
isIncludeInferred() |
void |
setBaseURI(String baseURI) |
void |
setBindings(Binding[] bindings) |
void |
setDataset(Dataset dataset) |
void |
setIncludeInferred(boolean includeInferred) |
void |
setUpdateString(String updateString) |
public void execute(RepositoryConnection con) throws RepositoryException
TransactionOperation
execute
in interface TransactionOperation
con
- 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 Dataset getDataset()
public void setDataset(Dataset dataset)
dataset
- The dataset to set.public Binding[] getBindings()
public void setBindings(Binding[] bindings)
bindings
- The bindings to set.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.