Class SailUpdate
- java.lang.Object
-
- org.eclipse.rdf4j.query.impl.AbstractOperation
-
- org.eclipse.rdf4j.query.impl.AbstractUpdate
-
- org.eclipse.rdf4j.query.impl.AbstractParserUpdate
-
- org.eclipse.rdf4j.repository.sail.SailUpdate
-
public class SailUpdate extends AbstractParserUpdate
-
-
Field Summary
Fields Modifier and Type Field Description private SailRepositoryConnection
con
private static org.slf4j.Logger
logger
-
Fields inherited from class org.eclipse.rdf4j.query.impl.AbstractOperation
bindings, dataset, includeInferred
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SailUpdate(ParsedUpdate parsedUpdate, SailRepositoryConnection con)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
beginLocalTransaction()
private void
commitLocalTransaction()
void
execute()
Execute this update on the repository.protected SailRepositoryConnection
getConnection()
private void
rollbackLocalTransaction()
-
Methods inherited from class org.eclipse.rdf4j.query.impl.AbstractParserUpdate
equals, getMergedDataset, getParsedUpdate, hashCode, 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, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.rdf4j.query.Operation
clearBindings, getBindings, getDataset, getIncludeInferred, getMaxExecutionTime, removeBinding, setBinding, setDataset, setIncludeInferred, setMaxExecutionTime
-
-
-
-
Field Detail
-
logger
private static final org.slf4j.Logger logger
-
con
private final SailRepositoryConnection con
-
-
Constructor Detail
-
SailUpdate
protected SailUpdate(ParsedUpdate parsedUpdate, SailRepositoryConnection con)
-
-
Method Detail
-
getConnection
protected SailRepositoryConnection getConnection()
-
execute
public void execute() throws UpdateExecutionException
Description copied from interface:Update
Execute this update on the repository.- Throws:
UpdateExecutionException
- if the update could not be successfully completed.
-
beginLocalTransaction
private void beginLocalTransaction() throws RepositoryException
- Throws:
RepositoryException
-
commitLocalTransaction
private void commitLocalTransaction() throws RepositoryException
- Throws:
RepositoryException
-
rollbackLocalTransaction
private void rollbackLocalTransaction() throws RepositoryException
- Throws:
RepositoryException
-
-