java.lang.Object
org.apache.jena.update.UpdateExecutionFactory
Create
UpdateExecution
execution objects.
For more control of building a local or remote UpdateExecution
object see the builder pattern:
UpdateExecution.create(). ... .build()
for querying local data.UpdateProcessorHTTP.service(url). ... .build()
for querying a remote store using HTTP.
See also RDFConnection
for working with SPARQL Query, SPARQL Update and SPARQL Graph Store Protocol together.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateExecution
create
(UpdateRequest updateRequest, Dataset dataset) Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecutionstatic UpdateExecution
create
(UpdateRequest updateRequest, Dataset dataset, Context context) Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecutionstatic UpdateExecution
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecutionstatic UpdateExecution
createRemote
(UpdateRequest updateRequest, String remoteEndpoint) Create an UpdateExecution that sends the update request to a remote SPARQL Update service.static UpdateExecution
createRemote
(Update update, String remoteEndpoint) Create an UpdateExecution that sends the update to a remote SPARQL Update service.static UpdateExecution
createRemoteForm
(UpdateRequest updateRequest, String remoteEndpoint) Create an UpdateExecution that sends the update request to a remote SPARQL Update service using an HTML form.static UpdateExecution
createRemoteForm
(Update update, String remoteEndpoint) Create an UpdateExecution that sends the update to a remote SPARQL Update service using an HTML form.static UpdateProcessorStreaming
createStreaming
(Dataset dataset) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
UpdateExecutionFactory
public UpdateExecutionFactory()
-
-
Method Details
-
create
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
update
-dataset
-- Returns:
- UpdateExecution
-
create
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
updateRequest
-dataset
-- Returns:
- UpdateExecution
-
create
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
updateRequest
-dataset
-context
- (null means use merge of global and graph store context))- Returns:
- UpdateExecution
-
createStreaming
@Deprecated(forRemoval=true) public static UpdateProcessorStreaming createStreaming(Dataset dataset) Deprecated, for removal: This API element is subject to removal in a future version.Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
dataset
-- Returns:
- UpdateExecution
-
createRemote
Create an UpdateExecution that sends the update to a remote SPARQL Update service.- Parameters:
update
- UpdatesremoteEndpoint
- Endpoint URL- Returns:
- Remote Update processor
-
createRemote
Create an UpdateExecution that sends the update request to a remote SPARQL Update service.- Parameters:
updateRequest
- UpdatesremoteEndpoint
- Endpoint URL- Returns:
- Remote Update processor
-
createRemoteForm
Create an UpdateExecution that sends the update to a remote SPARQL Update service using an HTML form. Using an HTML form should be avoided unless the endpoint does not offer POST application/sparql-update.- Parameters:
update
- UpdatesremoteEndpoint
- Endpoint URL- Returns:
- Remote Update processor
-
createRemoteForm
Create an UpdateExecution that sends the update request to a remote SPARQL Update service using an HTML form. Using an HTML form should be avoided unless the endpoint does not offer POST application/sparql-update.- Parameters:
updateRequest
- UpdatesremoteEndpoint
- Endpoint URL- Returns:
- Remote Update processor
-