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
Constructors -
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, QuerySolution inputBinding) Deprecated.static UpdateExecution
create
(UpdateRequest updateRequest, Dataset dataset, QuerySolution inputBinding, Context context) Deprecated.UseUpdateExecution.dataset(dataset)... build()
static 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 UpdateExec
create
(UpdateRequest updateRequest, DatasetGraph datasetGraph) Deprecated.UseUpdateExec.dataset(datasetGraph)... build()
static UpdateExec
create
(UpdateRequest updateRequest, DatasetGraph datasetGraph, Binding inputBinding) Deprecated.UseUpdateExec.dataset(datasetGraph)... build()
static UpdateExec
create
(UpdateRequest updateRequest, DatasetGraph datasetGraph, Binding inputBinding, Context context) Deprecated.UseUpdateExecution.dataset(dataset)... build()
static UpdateExec
create
(UpdateRequest updateRequest, DatasetGraph datasetGraph, Context context) Deprecated.UseUpdateExec.dataset(datasetGraph)... build()
static UpdateExecution
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecutionstatic UpdateExec
create
(Update update, Dataset dataset, QuerySolution inputBinding) Deprecated.UseUpdateExecution.dataset(dataset)... build()
static UpdateExec
create
(Update update, DatasetGraph datasetGraph) Deprecated.UseUpdateExec.dataset(datasetGraph)... build();
static UpdateExec
create
(Update update, DatasetGraph datasetGraph, Binding inputBinding) Deprecated.UseUpdateExec.dataset(datasetGraph)... build()
static UpdateExecution
createRemote
(UpdateRequest updateRequest, String remoteEndpoint) Deprecated.UseUpdateExecution.service(remoteEndpoint)...build();
static UpdateExecution
createRemote
(UpdateRequest updateRequest, String remoteEndpoint, Context context) Deprecated.UseUpdateExecution.service(remoteEndpoint)...build();
static UpdateExecution
createRemote
(Update update, String remoteEndpoint) Create an UpdateExecution that sends the update to a remote SPARQL Update service.static UpdateExecution
createRemote
(Update update, String remoteEndpoint, Context context) Deprecated.UseUpdateExecution.service(remoteEndpoint)...build();
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
(UpdateRequest updateRequest, String remoteEndpoint, Context context) Deprecated.UseUpdateExecution.service(remoteEndpoint)...build();
static UpdateExecution
createRemoteForm
(Update update, String remoteEndpoint) Deprecated.UseUpdateExecution.service(remoteEndpoint).snedMode(UpdateSendMode.asPostForm)..build();
static UpdateExecution
createRemoteForm
(Update update, String remoteEndpoint, Context context) Deprecated.UseUpdateExecution.service(remoteEndpoint)...build();
static UpdateProcessorStreaming
createStreaming
(Dataset dataset) Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecutionstatic UpdateProcessorStreaming
createStreaming
(Dataset dataset, QuerySolution inputBinding) Deprecated.static UpdateProcessorStreaming
createStreaming
(Dataset dataset, QuerySolution inputBinding, Context context) Deprecated.UseUpdateExecution.dataset(dataset)... build()
static UpdateProcessorStreaming
createStreaming
(Dataset dataset, Context context) Deprecated.static UpdateProcessorStreaming
createStreaming
(DatasetGraph datasetGraph) Deprecated.static UpdateProcessorStreaming
createStreaming
(DatasetGraph datasetGraph, Binding inputBinding) Deprecated.UseUpdateExecution.dataset(dataset)... build()
static UpdateProcessorStreaming
createStreaming
(DatasetGraph datasetGraph, Binding inputBinding, Context context) Deprecated.UseUpdateExecution.dataset(dataset)... build()
static UpdateProcessorStreaming
createStreaming
(DatasetGraph datasetGraph, Context context) Deprecated.
-
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
Deprecated.UseUpdateExec.dataset(datasetGraph)... build();
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
update
-datasetGraph
-- Returns:
- UpdateExec
-
create
@Deprecated public static UpdateExec create(Update update, Dataset dataset, QuerySolution inputBinding) Deprecated.UseUpdateExecution.dataset(dataset)... build()
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
update
-dataset
-inputBinding
- Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)- Returns:
- UpdateExec
-
create
@Deprecated public static UpdateExec create(Update update, DatasetGraph datasetGraph, Binding inputBinding) Deprecated.UseUpdateExec.dataset(datasetGraph)... build()
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
update
-datasetGraph
-inputBinding
- Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)- Returns:
- UpdateExec
-
create
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
updateRequest
-dataset
-- Returns:
- UpdateExecution
-
create
Deprecated.UseUpdateExec.dataset(datasetGraph)... build()
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
updateRequest
-datasetGraph
-- Returns:
- UpdateExec
-
create
@Deprecated public static UpdateExecution create(UpdateRequest updateRequest, Dataset dataset, QuerySolution inputBinding) Deprecated.UseUpdateExecution.dataset(dataset)... build()
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
updateRequest
-dataset
-inputBinding
- Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)- Returns:
- UpdateExecution
-
create
@Deprecated public static UpdateExec create(UpdateRequest updateRequest, DatasetGraph datasetGraph, Binding inputBinding) Deprecated.UseUpdateExec.dataset(datasetGraph)... build()
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
updateRequest
-datasetGraph
-inputBinding
- Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)- Returns:
- UpdateExec
-
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
-
create
@Deprecated public static UpdateExec create(UpdateRequest updateRequest, DatasetGraph datasetGraph, Context context) Deprecated.UseUpdateExec.dataset(datasetGraph)... build()
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
updateRequest
-datasetGraph
-context
- (null means use merge of global and graph store context))- Returns:
- UpdateExec
-
create
@Deprecated public static UpdateExecution create(UpdateRequest updateRequest, Dataset dataset, QuerySolution inputBinding, Context context) Deprecated.UseUpdateExecution.dataset(dataset)... build()
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
updateRequest
-dataset
-inputBinding
- Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)context
- (null means use merge of global and graph store context))- Returns:
- UpdateExecution
-
create
@Deprecated public static UpdateExec create(UpdateRequest updateRequest, DatasetGraph datasetGraph, Binding inputBinding, Context context) Deprecated.UseUpdateExecution.dataset(dataset)... build()
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
updateRequest
-datasetGraph
-inputBinding
- Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)context
- (null means use merge of global and graph store context))- Returns:
- UpdateExec
-
createStreaming
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
dataset
-- Returns:
- UpdateExecution
-
createStreaming
Deprecated.Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
datasetGraph
-- Returns:
- UpdateExecution
-
createStreaming
@Deprecated public static UpdateProcessorStreaming createStreaming(Dataset dataset, QuerySolution inputBinding) Deprecated.Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
dataset
-inputBinding
- Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)- Returns:
- UpdateExecution
-
createStreaming
@Deprecated public static UpdateProcessorStreaming createStreaming(DatasetGraph datasetGraph, Binding inputBinding) Deprecated.UseUpdateExecution.dataset(dataset)... build()
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
datasetGraph
-inputBinding
- Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)- Returns:
- UpdateExecution
-
createStreaming
@Deprecated public static UpdateProcessorStreaming createStreaming(Dataset dataset, Context context) Deprecated.Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
dataset
-context
- (null means use merge of global and graph store context))- Returns:
- UpdateExecution
-
createStreaming
@Deprecated public static UpdateProcessorStreaming createStreaming(DatasetGraph datasetGraph, Context context) Deprecated.Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
datasetGraph
-context
- (null means use merge of global and graph store context))- Returns:
- UpdateExecution
-
createStreaming
@Deprecated public static UpdateProcessorStreaming createStreaming(Dataset dataset, QuerySolution inputBinding, Context context) Deprecated.UseUpdateExecution.dataset(dataset)... build()
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
dataset
-inputBinding
- Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)context
- (null means use merge of global and graph store context))- Returns:
- UpdateExecution
-
createStreaming
@Deprecated public static UpdateProcessorStreaming createStreaming(DatasetGraph datasetGraph, Binding inputBinding, Context context) Deprecated.UseUpdateExecution.dataset(dataset)... build()
Create an UpdateExecution appropriate to the datasetGraph, or null if no available factory to make an UpdateExecution- Parameters:
datasetGraph
-inputBinding
- Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)context
- (null means use merge of global and graph store context))- 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
@Deprecated public static UpdateExecution createRemote(Update update, String remoteEndpoint, Context context) Deprecated.UseUpdateExecution.service(remoteEndpoint)...build();
Create an UpdateExecution that sends the update to a remote SPARQL Update service.- Parameters:
update
- UpdatesremoteEndpoint
- Endpoint URLcontext
- Context- Returns:
- Remote Update processor
-
createRemote
@Deprecated public static UpdateExecution createRemote(UpdateRequest updateRequest, String remoteEndpoint) Deprecated.UseUpdateExecution.service(remoteEndpoint)...build();
Create an UpdateExecution that sends the update request to a remote SPARQL Update service.- Parameters:
updateRequest
- UpdatesremoteEndpoint
- Endpoint URL- Returns:
- Remote Update processor
-
createRemote
@Deprecated public static UpdateExecution createRemote(UpdateRequest updateRequest, String remoteEndpoint, Context context) Deprecated.UseUpdateExecution.service(remoteEndpoint)...build();
Create an UpdateExecution that sends the update request to a remote SPARQL Update service.- Parameters:
updateRequest
- UpdatesremoteEndpoint
- Endpoint URLcontext
- Context- Returns:
- Remote Update processor
-
createRemoteForm
Deprecated.UseUpdateExecution.service(remoteEndpoint).snedMode(UpdateSendMode.asPostForm)..build();
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:
update
- UpdatesremoteEndpoint
- Endpoint URL- Returns:
- Remote Update processor
-
createRemoteForm
@Deprecated public static UpdateExecution createRemoteForm(Update update, String remoteEndpoint, Context context) Deprecated.UseUpdateExecution.service(remoteEndpoint)...build();
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:
update
- UpdatesremoteEndpoint
- Endpoint URLcontext
- Context- 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
-
createRemoteForm
@Deprecated public static UpdateExecution createRemoteForm(UpdateRequest updateRequest, String remoteEndpoint, Context context) Deprecated.UseUpdateExecution.service(remoteEndpoint)...build();
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 URLcontext
- Context- Returns:
- Remote Update processor
-
UpdateExecution.dataset(dataset)... build()