@Override public UpdateProcessor createUpdateProcessor(UpdateRequest updateRequest) { UpdateProcessor result = org.apache.jena.update.UpdateExecutionFactory.create(updateRequest, graphStore); return result; } }
/** Create an UpdateProcessor that sends the update request to a remote SPARQL Update service. * @param updateRequest Updates * @param remoteEndpoint Endpoint URL * @return Remote Update processor */ public static UpdateProcessor createRemote(UpdateRequest updateRequest, String remoteEndpoint) { return createRemote(updateRequest, remoteEndpoint, null, null, null) ; }
/** Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form * @param update Updates * @param remoteEndpoint Endpoint URL * @param client HTTP client * @return Remote Update processor */ public static UpdateProcessor createRemoteForm(Update update, String remoteEndpoint, HttpClient client) { return createRemoteForm(update, remoteEndpoint, null, client) ; }
/** Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor * @param dataset * @param inputBinding Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify) * @return UpdateProcessor or null */ public static UpdateProcessorStreaming createStreaming(Dataset dataset, QuerySolution inputBinding) { return createStreaming(dataset.asDatasetGraph(), BindingUtils.asBinding(inputBinding)) ; }
/** Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor * @param dataset * @param inputBinding Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify) * @param context (null means use merge of global and graph store context)) * @return UpdateProcessor or null */ public static UpdateProcessorStreaming createStreaming(Dataset dataset, QuerySolution inputBinding, Context context) { return createStreaming(dataset.asDatasetGraph(), BindingUtils.asBinding(inputBinding), context) ; }
@Override public UpdateProcessor createUpdateProcessor(UpdateRequest updateRequest) { UpdateProcessor result = org.apache.jena.update.UpdateExecutionFactory.create(updateRequest, datasetGraph); return result; }
/** Create an UpdateProcessor that sends the update request to a remote SPARQL Update service. * @param updateRequest Updates * @param remoteEndpoint Endpoint URL * @param client HTTP client * @return Remote Update processor */ public static UpdateProcessor createRemote(UpdateRequest updateRequest, String remoteEndpoint, HttpClient client) { return createRemote(updateRequest, remoteEndpoint, null, client) ; }
/** Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form * @param update Updates * @param remoteEndpoint Endpoint URL * @return Remote Update processor */ public static UpdateProcessor createRemoteForm(Update update, String remoteEndpoint) { return createRemoteForm(update, remoteEndpoint, null, null, null) ; }
UpdateProcessorStreaming uProc = UpdateExecutionFactory.createStreaming(dataset, inputBinding) ; if (uProc == null) throw new ARQException("No suitable update procesors are registered/able to execute your updates");
@Override public UpdateProcessor createUpdateProcessor(UpdateRequest updateRequest) { UpdateProcessor result = org.apache.jena.update.UpdateExecutionFactory.create(updateRequest, dataset, context); return result; } }
/** Create an UpdateProcessor that sends the update request to a remote SPARQL Update service. * @param updateRequest Updates * @param remoteEndpoint Endpoint URL * @param client HTTP client * @param httpContext HTTP Context * @return Remote Update processor */ public static UpdateProcessor createRemote(UpdateRequest updateRequest, String remoteEndpoint, HttpClient client, HttpContext httpContext) { return createRemote(updateRequest, remoteEndpoint, null, client, httpContext) ; }
/** Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form * @param updateRequest Updates * @param remoteEndpoint Endpoint URL * @param client HTTP client * @param httpContext HTTP Context * @return Remote Update processor */ public static UpdateProcessor createRemoteForm(UpdateRequest updateRequest, String remoteEndpoint, HttpClient client, HttpContext httpContext) { return createRemoteForm(updateRequest, remoteEndpoint, null, client, httpContext) ; }
/** Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor * @param update * @param datasetGraph * @param inputBinding Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify) * @return UpdateProcessor or null */ public static UpdateProcessor create(Update update, DatasetGraph datasetGraph, Binding inputBinding) { return create(new UpdateRequest(update), datasetGraph, inputBinding) ; }
/** Create an UpdateProcessor that sends the update to a remote SPARQL Update service. * @param update Updates * @param remoteEndpoint Endpoint URL * @param context Context * @param client HTTP client * @return Remote Update processor */ public static UpdateProcessor createRemote(Update update, String remoteEndpoint, Context context, HttpClient client) { return createRemote(update, remoteEndpoint, context, client, null); }
/** Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form * @param updateRequest Updates * @param remoteEndpoint Endpoint URL * @return Remote Update processor */ public static UpdateProcessor createRemoteForm(UpdateRequest updateRequest, String remoteEndpoint) { return createRemoteForm(updateRequest, remoteEndpoint, null, null, null) ; }
/** Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor * @param update * @param dataset * @return UpdateProcessor or null */ public static UpdateProcessor create(Update update, Dataset dataset) { return create(new UpdateRequest(update), dataset) ; }
/** Create an UpdateProcessor that sends the update to a remote SPARQL Update service. * @param update Updates * @param remoteEndpoint Endpoint URL * @param client HTTP client * @return Remote Update processor */ public static UpdateProcessor createRemote(Update update, String remoteEndpoint, HttpClient client) { return createRemote(update, remoteEndpoint, client, null); }
/** Create an UpdateProcessor that sends the update request to a remote SPARQL Update service using an HTML form * @param update Updates * @param remoteEndpoint Endpoint URL * @param client HTTP client * @param httpContext HTTP Context * @return Remote Update processor */ public static UpdateProcessor createRemoteForm(Update update, String remoteEndpoint, HttpClient client, HttpContext httpContext) { return createRemoteForm(update, remoteEndpoint, null, client, httpContext) ; }
/** Create an UpdateProcessor appropriate to the datasetGraph, or null if no available factory to make an UpdateProcessor * @param update * @param datasetGraph * @return UpdateProcessor or null */ public static UpdateProcessor create(Update update, DatasetGraph datasetGraph) { return create(new UpdateRequest(update), datasetGraph) ; }
/** Create an UpdateProcessor that sends the update request to a remote SPARQL Update service. * @param updateRequest Updates * @param remoteEndpoint Endpoint URL * @param context Context * @return Remote Update processor */ public static UpdateProcessor createRemote(UpdateRequest updateRequest, String remoteEndpoint, Context context) { return createRemote(updateRequest, remoteEndpoint, context, null) ; }