com.hp.hpl.jena.update
Class UpdateExecutionFactory

java.lang.Object
  extended by com.hp.hpl.jena.update.UpdateExecutionFactory

public class UpdateExecutionFactory
extends Object

Create UpdateProcessors (one-time executions of a SPARQL Update request)


Constructor Summary
UpdateExecutionFactory()
           
 
Method Summary
static UpdateProcessor create(Update update, GraphStore graphStore)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessor create(Update update, GraphStore graphStore, Binding inputBinding)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessor create(Update update, GraphStore graphStore, QuerySolution inputBinding)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessor create(UpdateRequest updateRequest, GraphStore graphStore)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessor create(UpdateRequest updateRequest, GraphStore graphStore, Binding inputBinding)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessor create(UpdateRequest updateRequest, GraphStore graphStore, Binding inputBinding, Context context)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessor create(UpdateRequest updateRequest, GraphStore graphStore, Context context)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessor create(UpdateRequest updateRequest, GraphStore graphStore, QuerySolution inputBinding)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessor create(UpdateRequest updateRequest, GraphStore graphStore, QuerySolution inputBinding, Context context)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessor createRemote(UpdateRequest updateRequest, String remoteEndpoint)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service.
static UpdateProcessor createRemote(UpdateRequest updateRequest, String remoteEndpoint, Context context)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service.
static UpdateProcessor createRemote(UpdateRequest updateRequest, String remoteEndpoint, Context context, HttpAuthenticator authenticator)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service.
static UpdateProcessor createRemote(UpdateRequest updateRequest, String remoteEndpoint, HttpAuthenticator authenticator)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service.
static UpdateProcessor createRemote(Update update, String remoteEndpoint)
          Create an UpdateProcessor that sends the update to a remote SPARQL Update service.
static UpdateProcessor createRemote(Update update, String remoteEndpoint, Context context)
          Create an UpdateProcessor that sends the update to a remote SPARQL Update service.
static UpdateProcessor createRemote(Update update, String remoteEndpoint, Context context, HttpAuthenticator authenticator)
          Create an UpdateProcessor that sends the update to a remote SPARQL Update service.
static UpdateProcessor createRemote(Update update, String remoteEndpoint, HttpAuthenticator authenticator)
          Create an UpdateProcessor that sends the update to a remote SPARQL Update service.
static UpdateProcessor createRemoteForm(UpdateRequest updateRequest, String remoteEndpoint)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form
static UpdateProcessor createRemoteForm(UpdateRequest updateRequest, String remoteEndpoint, Context context)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form
static UpdateProcessor createRemoteForm(UpdateRequest updateRequest, String remoteEndpoint, Context context, HttpAuthenticator authenticator)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form
static UpdateProcessor createRemoteForm(UpdateRequest updateRequest, String remoteEndpoint, HttpAuthenticator authenticator)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form
static UpdateProcessor createRemoteForm(Update update, String remoteEndpoint)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form
static UpdateProcessor createRemoteForm(Update update, String remoteEndpoint, Context context)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form
static UpdateProcessor createRemoteForm(Update update, String remoteEndpoint, Context context, HttpAuthenticator authenticator)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form
static UpdateProcessor createRemoteForm(Update update, String remoteEndpoint, HttpAuthenticator authenticator)
          Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form
static UpdateProcessorStreaming createStreaming(GraphStore graphStore)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessorStreaming createStreaming(GraphStore graphStore, Binding inputBinding)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessorStreaming createStreaming(GraphStore graphStore, Binding inputBinding, Context context)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessorStreaming createStreaming(GraphStore graphStore, Context context)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessorStreaming createStreaming(GraphStore graphStore, QuerySolution inputBinding)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
static UpdateProcessorStreaming createStreaming(GraphStore graphStore, QuerySolution inputBinding, Context context)
          Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateExecutionFactory

public UpdateExecutionFactory()
Method Detail

create

public static UpdateProcessor create(Update update,
                                     GraphStore graphStore)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
update -
graphStore -
Returns:
UpdateProcessor or null

create

public static UpdateProcessor create(Update update,
                                     GraphStore graphStore,
                                     QuerySolution inputBinding)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
update -
graphStore -
inputBinding - Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)
Returns:
UpdateProcessor or null

create

public static UpdateProcessor create(Update update,
                                     GraphStore graphStore,
                                     Binding inputBinding)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
update -
graphStore -
inputBinding - Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)
Returns:
UpdateProcessor or null

create

public static UpdateProcessor create(UpdateRequest updateRequest,
                                     GraphStore graphStore)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
updateRequest -
graphStore -
Returns:
UpdateProcessor or null

create

public static UpdateProcessor create(UpdateRequest updateRequest,
                                     GraphStore graphStore,
                                     QuerySolution inputBinding)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
updateRequest -
graphStore -
inputBinding - Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)
Returns:
UpdateProcessor or null

create

public static UpdateProcessor create(UpdateRequest updateRequest,
                                     GraphStore graphStore,
                                     Binding inputBinding)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
updateRequest -
graphStore -
inputBinding - Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)
Returns:
UpdateProcessor or null

createStreaming

public static UpdateProcessorStreaming createStreaming(GraphStore graphStore)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
graphStore -
Returns:
UpdateProcessor or null

createStreaming

public static UpdateProcessorStreaming createStreaming(GraphStore graphStore,
                                                       QuerySolution inputBinding)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
graphStore -
inputBinding - Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)
Returns:
UpdateProcessor or null

createStreaming

public static UpdateProcessorStreaming createStreaming(GraphStore graphStore,
                                                       Binding inputBinding)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
graphStore -
inputBinding - Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify)
Returns:
UpdateProcessor or null

createStreaming

public static UpdateProcessorStreaming createStreaming(GraphStore graphStore,
                                                       Context context)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
graphStore -
context - (null means use merge of global and graph store context))
Returns:
UpdateProcessor or null

createStreaming

public static UpdateProcessorStreaming createStreaming(GraphStore graphStore,
                                                       QuerySolution inputBinding,
                                                       Context context)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
graphStore -
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:
UpdateProcessor or null

createStreaming

public static UpdateProcessorStreaming createStreaming(GraphStore graphStore,
                                                       Binding inputBinding,
                                                       Context context)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
graphStore -
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:
UpdateProcessor or null

create

public static UpdateProcessor create(UpdateRequest updateRequest,
                                     GraphStore graphStore,
                                     Context context)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
updateRequest -
graphStore -
context - (null means use merge of global and graph store context))
Returns:
UpdateProcessor or null

create

public static UpdateProcessor create(UpdateRequest updateRequest,
                                     GraphStore graphStore,
                                     QuerySolution inputBinding,
                                     Context context)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
updateRequest -
graphStore -
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:
UpdateProcessor or null

create

public static UpdateProcessor create(UpdateRequest updateRequest,
                                     GraphStore graphStore,
                                     Binding inputBinding,
                                     Context context)
Create an UpdateProcessor appropriate to the GraphStore, or null if no available factory to make an UpdateProcessor

Parameters:
updateRequest -
graphStore -
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:
UpdateProcessor or null

createRemote

public static UpdateProcessor createRemote(Update update,
                                           String remoteEndpoint)
Create an UpdateProcessor that sends the update to a remote SPARQL Update service.

Parameters:
update - Updates
remoteEndpoint - Endpoint URL
Returns:
Remote Update processor

createRemote

public static UpdateProcessor createRemote(Update update,
                                           String remoteEndpoint,
                                           HttpAuthenticator authenticator)
Create an UpdateProcessor that sends the update to a remote SPARQL Update service.

Parameters:
update - Updates
remoteEndpoint - Endpoint URL
authenticator - HTTP Authenticator
Returns:
Remote Update processor

createRemote

public static UpdateProcessor createRemote(Update update,
                                           String remoteEndpoint,
                                           Context context)
Create an UpdateProcessor that sends the update to a remote SPARQL Update service.

Parameters:
update - Updates
remoteEndpoint - Endpoint URL
context - Context
Returns:
Remote Update processor

createRemote

public static UpdateProcessor createRemote(Update update,
                                           String remoteEndpoint,
                                           Context context,
                                           HttpAuthenticator authenticator)
Create an UpdateProcessor that sends the update to a remote SPARQL Update service.

Parameters:
update - Updates
remoteEndpoint - Endpoint URL
context - Context
authenticator - HTTP Authenticator
Returns:
Remote Update processor

createRemote

public static UpdateProcessor createRemote(UpdateRequest updateRequest,
                                           String remoteEndpoint)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service.

Parameters:
updateRequest - Updates
remoteEndpoint - Endpoint URL
Returns:
Remote Update processor

createRemote

public static UpdateProcessor createRemote(UpdateRequest updateRequest,
                                           String remoteEndpoint,
                                           HttpAuthenticator authenticator)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service.

Parameters:
updateRequest - Updates
remoteEndpoint - Endpoint URL
authenticator - HTTP Authenticator
Returns:
Remote Update processor

createRemote

public static UpdateProcessor createRemote(UpdateRequest updateRequest,
                                           String remoteEndpoint,
                                           Context context)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service.

Parameters:
updateRequest - Updates
remoteEndpoint - Endpoint URL
context - Context
Returns:
Remote Update processor

createRemote

public static UpdateProcessor createRemote(UpdateRequest updateRequest,
                                           String remoteEndpoint,
                                           Context context,
                                           HttpAuthenticator authenticator)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service.

Parameters:
updateRequest - Updates
remoteEndpoint - Endpoint URL
context - Context
authenticator - HTTP Authenticator
Returns:
Remote Update processor

createRemoteForm

public static UpdateProcessor createRemoteForm(Update update,
                                               String remoteEndpoint)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form

Parameters:
update - Updates
remoteEndpoint - Endpoint URL
Returns:
Remote Update processor

createRemoteForm

public static UpdateProcessor createRemoteForm(Update update,
                                               String remoteEndpoint,
                                               HttpAuthenticator authenticator)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form

Parameters:
update - Updates
remoteEndpoint - Endpoint URL
authenticator - HTTP Authenticator
Returns:
Remote Update processor

createRemoteForm

public static UpdateProcessor createRemoteForm(Update update,
                                               String remoteEndpoint,
                                               Context context)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form

Parameters:
update - Updates
remoteEndpoint - Endpoint URL
context - Context
Returns:
Remote Update processor

createRemoteForm

public static UpdateProcessor createRemoteForm(Update update,
                                               String remoteEndpoint,
                                               Context context,
                                               HttpAuthenticator authenticator)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form

Parameters:
update - Updates
remoteEndpoint - Endpoint URL
context - Context
authenticator - HTTP Authenticator
Returns:
Remote Update processor

createRemoteForm

public static UpdateProcessor createRemoteForm(UpdateRequest updateRequest,
                                               String remoteEndpoint)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form

Parameters:
updateRequest - Updates
remoteEndpoint - Endpoint URL
Returns:
Remote Update processor

createRemoteForm

public static UpdateProcessor createRemoteForm(UpdateRequest updateRequest,
                                               String remoteEndpoint,
                                               HttpAuthenticator authenticator)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form

Parameters:
updateRequest - Updates
remoteEndpoint - Endpoint URL
authenticator - HTTP Authenticator
Returns:
Remote Update processor

createRemoteForm

public static UpdateProcessor createRemoteForm(UpdateRequest updateRequest,
                                               String remoteEndpoint,
                                               Context context)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form

Parameters:
updateRequest - Updates
remoteEndpoint - Endpoint URL
context - Context
Returns:
Remote Update processor

createRemoteForm

public static UpdateProcessor createRemoteForm(UpdateRequest updateRequest,
                                               String remoteEndpoint,
                                               Context context,
                                               HttpAuthenticator authenticator)
Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form

Parameters:
updateRequest - Updates
remoteEndpoint - Endpoint URL
context - Context
authenticator - HTTP Authenticator
Returns:
Remote Update processor


Licenced under the Apache License, Version 2.0