java.lang.Object
org.apache.jena.update.UpdateAction
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
execute
(UpdateRequest request, org.apache.jena.graph.Graph graph) Execute SPARQL Update operations.static void
execute
(UpdateRequest request, Dataset dataset) Execute SPARQL Update operations.static void
execute
(UpdateRequest request, Dataset dataset, QuerySolution inputBinding) Execute SPARQL Update operations.static void
execute
(UpdateRequest request, org.apache.jena.rdf.model.Model model) Execute SPARQL Update operations.static void
execute
(UpdateRequest request, DatasetGraph dataset) Execute SPARQL Update operations.static void
execute
(UpdateRequest request, DatasetGraph datasetGraph, Binding inputBinding) Execute SPARQL Update operations.static void
Execute a single SPARQL Update operation.static void
Execute a single SPARQL Update operation.static void
execute
(Update update, Dataset dataset, QuerySolution inputBinding) Execute a single SPARQL Update operation.static void
Execute a single SPARQL Update operation.static void
execute
(Update update, DatasetGraph dataset) Execute a single SPARQL Update operation.static void
execute
(Update update, DatasetGraph datasetGraph, Binding inputBinding) Execute a single SPARQL Update operation.static void
parseExecute
(String updateString, org.apache.jena.graph.Graph graph) Parse a string containing SPARQL Update operations, and execute the operations.static void
parseExecute
(String updateString, Dataset dataset) Parse a string containing SPARQL Update operations, and execute the operations.static void
parseExecute
(String updateString, Dataset dataset, QuerySolution inputBinding) Parse a string containing SPARQL Update operations, and execute the operations.static void
parseExecute
(String updateString, org.apache.jena.rdf.model.Model model) 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, DatasetGraph dataset, Binding inputBinding) 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 DatasetGraph by parsing from an InputStream.static void
parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input, String baseURI) Parse update operations into a DatasetGraph by parsing from an InputStream.static void
parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph 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 DatasetGraph by parsing from an InputStream.static void
parseExecute
(UsingList usingList, DatasetGraph dataset, InputStream input, Syntax syntax) Parse update operations into a DatasetGraph 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 DatasetGraph by parsing from an InputStream.static void
parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName) Parse update operations into a DatasetGraph by reading it from a filestatic void
parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic void
parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, QuerySolution inputBinding, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic void
parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic void
parseExecute
(UsingList usingList, DatasetGraph dataset, String fileName, Binding inputBinding, String baseURI, Syntax syntax) Parse update operations into a DatasetGraph by reading it from a filestatic void
readExecute
(String filename, org.apache.jena.graph.Graph graph) Read a file containing SPARQL Update operations, and execute the operations.static void
readExecute
(String filename, Dataset dataset) Read a file containing SPARQL Update operations, and execute the operations.static void
readExecute
(String filename, Dataset dataset, QuerySolution inputBinding) Read a file containing SPARQL Update operations, and execute the operations.static void
readExecute
(String filename, org.apache.jena.rdf.model.Model model) 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, DatasetGraph datasetGraph, Binding inputBinding) Read a file containing SPARQL Update operations, and execute the operations.
-
Constructor Details
-
UpdateAction
public UpdateAction()
-
-
Method Details
-
readExecute
Read a file containing SPARQL Update operations, and execute the operations.- Parameters:
filename
-model
-
-
readExecute
Read a file containing SPARQL Update operations, and execute the operations.- Parameters:
filename
-graph
-
-
readExecute
Read a file containing SPARQL Update operations, and execute the operations.- Parameters:
filename
-dataset
-
-
readExecute
Read a file containing SPARQL Update operations, and execute the operations.- Parameters:
filename
-dataset
-
-
readExecute
Read a file containing SPARQL Update operations, and execute the operations.- Parameters:
filename
-dataset
-inputBinding
-
-
readExecute
Read a file containing SPARQL Update operations, and execute the operations.- Parameters:
filename
-datasetGraph
-inputBinding
-
-
parseExecute
Parse a string containing SPARQL Update operations, and execute the operations.- Parameters:
updateString
-model
-
-
parseExecute
Parse a string containing SPARQL Update operations, and execute the operations.- Parameters:
updateString
-graph
-
-
parseExecute
Parse a string containing SPARQL Update operations, and execute the operations.- Parameters:
updateString
-dataset
-
-
parseExecute
Parse a string containing SPARQL Update operations, and execute the operations.- Parameters:
updateString
-dataset
-
-
parseExecute
Parse a string containing SPARQL Update operations, and execute the operations.- Parameters:
updateString
-dataset
-inputBinding
-
-
parseExecute
Parse a string containing SPARQL Update operations, and execute the operations.- Parameters:
updateString
-dataset
-inputBinding
-
-
execute
Execute SPARQL Update operations.- Parameters:
request
-model
-
-
execute
Execute SPARQL Update operations.- Parameters:
request
-graph
-
-
execute
Execute SPARQL Update operations.- Parameters:
request
-dataset
-
-
execute
Execute SPARQL Update operations.- Parameters:
request
-dataset
-
-
execute
Execute SPARQL Update operations.- Parameters:
request
-dataset
-inputBinding
-
-
execute
Execute SPARQL Update operations.- Parameters:
request
-datasetGraph
-inputBinding
-
-
execute
Execute a single SPARQL Update operation.- Parameters:
update
-model
-
-
execute
Execute a single SPARQL Update operation.- Parameters:
update
-graph
-
-
execute
Execute a single SPARQL Update operation.- Parameters:
update
-dataset
-
-
execute
Execute a single SPARQL Update operation.- Parameters:
update
-dataset
-
-
execute
Execute a single SPARQL Update operation.- Parameters:
update
-dataset
-inputBinding
-
-
execute
Execute a single SPARQL Update operation.- Parameters:
update
-datasetGraph
-inputBinding
-
-
parseExecute
Parse update operations into a DatasetGraph by reading it from a file -
parseExecute
public static void parseExecute(UsingList usingList, DatasetGraph dataset, String fileName, Syntax syntax) Parse update operations into a DatasetGraph 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 DatasetGraph 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 DatasetGraph 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 DatasetGraph by reading it from a file -
parseExecute
Parse update operations into a DatasetGraph by parsing from an InputStream.- Parameters:
usingList
- A list of USING or USING NAMED statements that be added to allUpdateWithUsing
queriesinput
- 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 DatasetGraph by parsing from an InputStream.- Parameters:
usingList
- A list of USING or USING NAMED statements that be added to allUpdateWithUsing
queriesinput
- 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 DatasetGraph by parsing from an InputStream.- Parameters:
usingList
- A list of USING or USING NAMED statements that be added to allUpdateWithUsing
queriesinput
- 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 DatasetGraph by parsing from an InputStream.- Parameters:
usingList
- A list of USING or USING NAMED statements that be added to allUpdateWithUsing
queriesdataset
- The dataset to apply the changes toinput
- The source of the update request (must be UTF-8).baseURI
- The base URI for resolving relative URIs (may benull
)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 DatasetGraph by parsing from an InputStream.- Parameters:
usingList
- A list of USING or USING NAMED statements that be added to allUpdateWithUsing
queriesdataset
- The dataset to apply the changes toinput
- 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 benull
baseURI
- The base URI for resolving relative URIs (may benull
)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 DatasetGraph by parsing from an InputStream.- Parameters:
usingList
- A list of USING or USING NAMED statements that be added to allUpdateWithUsing
queriesdataset
- The dataset to apply the changes toinput
- 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 benull
baseURI
- The base URI for resolving relative URIs (may benull
)syntax
- The update language syntax
-