Package org.apache.jena.rdfconnection
Interface SparqlUpdateConnection
- All Superinterfaces:
AutoCloseable,org.apache.jena.sparql.core.Transactional
- All Known Subinterfaces:
RDFConnection,RDFConnectionFuseki,RDFConnectionRemote
- All Known Implementing Classes:
RDFConnectionAdapter,RDFConnectionFuseki.RDFConnectionFusekiImpl,RDFConnectionLocal,RDFConnectionWrapper
public interface SparqlUpdateConnection
extends org.apache.jena.sparql.core.Transactional, AutoCloseable
SPARQL Update Operations on a connection.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jena.sparql.core.Transactional
org.apache.jena.sparql.core.Transactional.Promote -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close this connection.org.apache.jena.update.UpdateExecutionBuilderReturn aUpdateExecutionBuilderthat is initially configured for this link setup and type.voidExecute a SPARQL Update.voidupdate(org.apache.jena.update.Update update) Execute a SPARQL Update.voidupdate(org.apache.jena.update.UpdateRequest update) Execute a SPARQL Update.Methods inherited from interface org.apache.jena.sparql.core.Transactional
abort, begin, begin, begin, calc, calculate, calculateRead, calculateWrite, commit, end, exec, execute, executeRead, executeWrite, isInTransaction, promote, promote, transactionMode, transactionType
-
Method Details
-
update
void update(org.apache.jena.update.Update update) Execute a SPARQL Update.- Parameters:
update-
-
update
void update(org.apache.jena.update.UpdateRequest update) Execute a SPARQL Update.- Parameters:
update-
-
update
Execute a SPARQL Update.- Parameters:
updateString-
-
newUpdate
org.apache.jena.update.UpdateExecutionBuilder newUpdate()Return aUpdateExecutionBuilderthat is initially configured for this link setup and type. The update built will be set to go to the same dataset/remote endpoint as the other RDFLink operations.- Returns:
- UpdateExecBuilder
-
close
void close()Close this connection.- Specified by:
closein interfaceAutoCloseable
-