com.hp.hpl.jena.update
Class UpdateAction

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

public class UpdateAction
extends Object

A class of forms for executing SPARQL Update operations. parse means the update request is in a String or an InputStream; read means read the contents of a file.


Constructor Summary
UpdateAction()
           
 
Method Summary
static void execute(Update update, Dataset dataset)
          Execute a single SPARQL Update operation.
static void execute(Update update, DatasetGraph dataset)
          Execute a single SPARQL Update operation.
static void execute(Update update, Graph graph)
          Execute a single SPARQL Update operation.
static void execute(Update update, GraphStore graphStore)
          Execute a single SPARQL Update operation.
static void execute(Update update, GraphStore graphStore, Binding inputBinding)
          Execute a single SPARQL Update operation.
static void execute(Update update, GraphStore graphStore, QuerySolution inputBinding)
          Execute a single SPARQL Update operation.
static void execute(Update update, Model model)
          Execute a single SPARQL Update operation.
static void execute(UpdateRequest request, Dataset dataset)
          Execute SPARQL Update operations.
static void execute(UpdateRequest request, DatasetGraph dataset)
          Execute SPARQL Update operations.
static void execute(UpdateRequest request, Graph graph)
          Execute SPARQL Update operations.
static void execute(UpdateRequest request, GraphStore graphStore)
          Execute SPARQL Update operations.
static void execute(UpdateRequest request, GraphStore graphStore, Binding inputBinding)
          Execute SPARQL Update operations.
static void execute(UpdateRequest request, GraphStore graphStore, QuerySolution inputBinding)
          Execute SPARQL Update operations.
static void execute(UpdateRequest request, Model model)
          Execute SPARQL Update operations.
static void parseExecute(String updateString, Dataset dataset)
          Parse a string containing SPARQL Update operations, and execute the operations.
static void parseExecute(String updateString, DatasetGraph dataset)
          Parse a string containing SPARQL Update operations, and execute the operations.
static void parseExecute(String updateString, Graph graph)
          Parse a string containing SPARQL Update operations, and execute the operations.
static void parseExecute(String updateString, GraphStore graphStore)
          Parse a string containing SPARQL Update operations, and execute the operations.
static void parseExecute(String updateString, Model model)
          Parse a string containing SPARQL Update operations, and execute the operations.
static void parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input)
          Parse update operations into a GraphStore by parsing from an InputStream.
static void parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input, Binding inputBinding, String baseURI, Syntax syntax)
          Parse update operations into a GraphStore by parsing from an InputStream.
static void parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input, QuerySolution inputBinding, String baseURI, Syntax syntax)
          Parse update operations into a GraphStore by parsing from an InputStream.
static void parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input, String baseURI)
          Parse update operations into a GraphStore by parsing from an InputStream.
static void parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input, String baseURI, Syntax syntax)
          Parse update operations into a GraphStore by parsing from an InputStream.
static void parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input, Syntax syntax)
          Parse update operations into a GraphStore by parsing from an InputStream.
static void parseExecute(UsingList usingList, DatasetGraph dataset, String fileName)
          Parse update operations into a GraphStore by reading it from a file
static void parseExecute(UsingList usingList, DatasetGraph dataset, String fileName, Binding inputBinding, String baseURI, Syntax syntax)
          Parse update operations into a GraphStore by reading it from a file
static void parseExecute(UsingList usingList, DatasetGraph dataset, String fileName, QuerySolution inputBinding, String baseURI, Syntax syntax)
          Parse update operations into a GraphStore by reading it from a file
static void parseExecute(UsingList usingList, DatasetGraph dataset, String fileName, String baseURI, Syntax syntax)
          Parse update operations into a GraphStore by reading it from a file
static void parseExecute(UsingList usingList, DatasetGraph dataset, String fileName, Syntax syntax)
          Parse update operations into a GraphStore by reading it from a file
static void readExecute(String filename, Dataset dataset)
          Read a file containing SPARQL Update operations, and execute the operations.
static void readExecute(String filename, DatasetGraph dataset)
          Read a file containing SPARQL Update operations, and execute the operations.
static void readExecute(String filename, Graph graph)
          Read a file containing SPARQL Update operations, and execute the operations.
static void readExecute(String filename, GraphStore graphStore)
          Read a file containing SPARQL Update operations, and execute the operations.
static void readExecute(String filename, GraphStore graphStore, Binding inputBinding)
          Read a file containing SPARQL Update operations, and execute the operations.
static void readExecute(String filename, GraphStore graphStore, QuerySolution inputBinding)
          Read a file containing SPARQL Update operations, and execute the operations.
static void readExecute(String filename, Model model)
          Read a file containing SPARQL Update operations, and execute the operations.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateAction

public UpdateAction()
Method Detail

readExecute

public static void readExecute(String filename,
                               Model model)
Read a file containing SPARQL Update operations, and execute the operations.

Parameters:
filename -
model -

readExecute

public static void readExecute(String filename,
                               Dataset dataset)
Read a file containing SPARQL Update operations, and execute the operations.

Parameters:
filename -
dataset -

readExecute

public static void readExecute(String filename,
                               DatasetGraph dataset)
Read a file containing SPARQL Update operations, and execute the operations.

Parameters:
filename -
dataset -

readExecute

public static void readExecute(String filename,
                               Graph graph)
Read a file containing SPARQL Update operations, and execute the operations.

Parameters:
filename -
graph -

readExecute

public static void readExecute(String filename,
                               GraphStore graphStore)
Read a file containing SPARQL Update operations, and execute the operations.

Parameters:
filename -
graphStore -

readExecute

public static void readExecute(String filename,
                               GraphStore graphStore,
                               QuerySolution inputBinding)
Read a file containing SPARQL Update operations, and execute the operations.

Parameters:
filename -
graphStore -
inputBinding -

readExecute

public static void readExecute(String filename,
                               GraphStore graphStore,
                               Binding inputBinding)
Read a file containing SPARQL Update operations, and execute the operations.

Parameters:
filename -
graphStore -
inputBinding -

parseExecute

public static void parseExecute(String updateString,
                                Model model)
Parse a string containing SPARQL Update operations, and execute the operations.

Parameters:
updateString -
model -

parseExecute

public static void parseExecute(String updateString,
                                Dataset dataset)
Parse a string containing SPARQL Update operations, and execute the operations.

Parameters:
updateString -
dataset -

parseExecute

public static void parseExecute(String updateString,
                                DatasetGraph dataset)
Parse a string containing SPARQL Update operations, and execute the operations.

Parameters:
updateString -
dataset -

parseExecute

public static void parseExecute(String updateString,
                                Graph graph)
Parse a string containing SPARQL Update operations, and execute the operations.

Parameters:
updateString -
graph -

parseExecute

public static void parseExecute(String updateString,
                                GraphStore graphStore)
Parse a string containing SPARQL Update operations, and execute the operations.

Parameters:
updateString -
graphStore -

execute

public static void execute(UpdateRequest request,
                           Model model)
Execute SPARQL Update operations.

Parameters:
request -
model -

execute

public static void execute(UpdateRequest request,
                           Dataset dataset)
Execute SPARQL Update operations.

Parameters:
request -
dataset -

execute

public static void execute(UpdateRequest request,
                           DatasetGraph dataset)
Execute SPARQL Update operations.

Parameters:
request -
dataset -

execute

public static void execute(UpdateRequest request,
                           Graph graph)
Execute SPARQL Update operations.

Parameters:
request -
graph -

execute

public static void execute(UpdateRequest request,
                           GraphStore graphStore)
Execute SPARQL Update operations.

Parameters:
request -
graphStore -

execute

public static void execute(UpdateRequest request,
                           GraphStore graphStore,
                           QuerySolution inputBinding)
Execute SPARQL Update operations.

Parameters:
request -
graphStore -
inputBinding -

execute

public static void execute(UpdateRequest request,
                           GraphStore graphStore,
                           Binding inputBinding)
Execute SPARQL Update operations.

Parameters:
request -
graphStore -
inputBinding -

execute

public static void execute(Update update,
                           Model model)
Execute a single SPARQL Update operation.

Parameters:
update -
model -

execute

public static void execute(Update update,
                           Dataset dataset)
Execute a single SPARQL Update operation.

Parameters:
update -
dataset -

execute

public static void execute(Update update,
                           DatasetGraph dataset)
Execute a single SPARQL Update operation.

Parameters:
update -
dataset -

execute

public static void execute(Update update,
                           Graph graph)
Execute a single SPARQL Update operation.

Parameters:
update -
graph -

execute

public static void execute(Update update,
                           GraphStore graphStore)
Execute a single SPARQL Update operation.

Parameters:
update -
graphStore -

execute

public static void execute(Update update,
                           GraphStore graphStore,
                           QuerySolution inputBinding)
Execute a single SPARQL Update operation.

Parameters:
update -
graphStore -
inputBinding -

execute

public static void execute(Update update,
                           GraphStore graphStore,
                           Binding inputBinding)
Execute a single SPARQL Update operation.

Parameters:
update -
graphStore -
inputBinding -

parseExecute

public static void parseExecute(UsingList usingList,
                                DatasetGraph dataset,
                                String fileName)
Parse update operations into a GraphStore by reading it from a file


parseExecute

public static void parseExecute(UsingList usingList,
                                DatasetGraph dataset,
                                String fileName,
                                Syntax syntax)
Parse update operations into a GraphStore by reading it from a file


parseExecute

public static void parseExecute(UsingList usingList,
                                DatasetGraph dataset,
                                String fileName,
                                String baseURI,
                                Syntax syntax)
Parse update operations into a GraphStore by reading it from a file


parseExecute

public static void parseExecute(UsingList usingList,
                                DatasetGraph dataset,
                                String fileName,
                                QuerySolution inputBinding,
                                String baseURI,
                                Syntax syntax)
Parse update operations into a GraphStore by reading it from a file


parseExecute

public static void parseExecute(UsingList usingList,
                                DatasetGraph dataset,
                                String fileName,
                                Binding inputBinding,
                                String baseURI,
                                Syntax syntax)
Parse update operations into a GraphStore by reading it from a file


parseExecute

public static void parseExecute(UsingList usingList,
                                DatasetGraph dataset,
                                InputStream input)
Parse update operations into a GraphStore by parsing from an InputStream.

Parameters:
usingList - A list of USING or USING NAMED statements that be added to all UpdateWithUsing queries
input - The source of the update request (must be UTF-8).

parseExecute

public static void parseExecute(UsingList usingList,
                                DatasetGraph dataset,
                                InputStream input,
                                Syntax syntax)
Parse update operations into a GraphStore by parsing from an InputStream.

Parameters:
usingList - A list of USING or USING NAMED statements that be added to all UpdateWithUsing queries
input - The source of the update request (must be UTF-8).
syntax - The update language syntax

parseExecute

public static void parseExecute(UsingList usingList,
                                DatasetGraph dataset,
                                InputStream input,
                                String baseURI)
Parse update operations into a GraphStore by parsing from an InputStream.

Parameters:
usingList - A list of USING or USING NAMED statements that be added to all UpdateWithUsing queries
input - The source of the update request (must be UTF-8).
baseURI - The base URI for resolving relative URIs.

parseExecute

public static void parseExecute(UsingList usingList,
                                DatasetGraph dataset,
                                InputStream input,
                                String baseURI,
                                Syntax syntax)
Parse update operations into a GraphStore by parsing from an InputStream.

Parameters:
usingList - A list of USING or USING NAMED statements that be added to all UpdateWithUsing queries
dataset - The dataset to apply the changes to
input - The source of the update request (must be UTF-8).
baseURI - The base URI for resolving relative URIs (may be null)
syntax - The update language syntax

parseExecute

public static void parseExecute(UsingList usingList,
                                DatasetGraph dataset,
                                InputStream input,
                                QuerySolution inputBinding,
                                String baseURI,
                                Syntax syntax)
Parse update operations into a GraphStore by parsing from an InputStream.

Parameters:
usingList - A list of USING or USING NAMED statements that be added to all UpdateWithUsing queries
dataset - The dataset to apply the changes to
input - The source of the update request (must be UTF-8).
inputBinding - Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify). May be null
baseURI - The base URI for resolving relative URIs (may be null)
syntax - The update language syntax

parseExecute

public static void parseExecute(UsingList usingList,
                                DatasetGraph dataset,
                                InputStream input,
                                Binding inputBinding,
                                String baseURI,
                                Syntax syntax)
Parse update operations into a GraphStore by parsing from an InputStream.

Parameters:
usingList - A list of USING or USING NAMED statements that be added to all UpdateWithUsing queries
dataset - The dataset to apply the changes to
input - The source of the update request (must be UTF-8).
inputBinding - Initial binding to be applied to Update operations that can apply an initial binding (i.e. UpdateDeleteWhere, UpdateModify). May be null
baseURI - The base URI for resolving relative URIs (may be null)
syntax - The update language syntax


Licenced under the Apache License, Version 2.0