public class UpdateAction extends Object
Constructor and Description |
---|
UpdateAction() |
Modifier and Type | Method and Description |
---|---|
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,
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,
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,
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,
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,
Model model)
Read a file containing SPARQL Update operations, and execute the operations.
|
public static void readExecute(String filename, Model model)
filename
- model
- public static void readExecute(String filename, Dataset dataset)
filename
- dataset
- public static void readExecute(String filename, DatasetGraph dataset)
filename
- dataset
- public static void readExecute(String filename, Graph graph)
filename
- graph
- public static void readExecute(String filename, GraphStore graphStore)
filename
- graphStore
- public static void parseExecute(String updateString, Model model)
updateString
- model
- public static void parseExecute(String updateString, Dataset dataset)
updateString
- dataset
- public static void parseExecute(String updateString, DatasetGraph dataset)
updateString
- dataset
- public static void parseExecute(String updateString, Graph graph)
updateString
- graph
- public static void parseExecute(String updateString, GraphStore graphStore)
updateString
- graphStore
- public static void execute(UpdateRequest request, Model model)
request
- model
- public static void execute(UpdateRequest request, Dataset dataset)
request
- dataset
- public static void execute(UpdateRequest request, DatasetGraph dataset)
request
- dataset
- public static void execute(UpdateRequest request, Graph graph)
request
- graph
- public static void execute(UpdateRequest request, GraphStore graphStore)
request
- graphStore
- public static void execute(Update update, Model model)
update
- model
- public static void execute(Update update, Dataset dataset)
update
- dataset
- public static void execute(Update update, DatasetGraph dataset)
update
- dataset
- public static void execute(Update update, Graph graph)
update
- graph
- public static void execute(Update update, GraphStore graphStore)
update
- graphStore
- public static void parseExecute(UsingList usingList, DatasetGraph dataset, String fileName)
public static void parseExecute(UsingList usingList, DatasetGraph dataset, String fileName, Syntax syntax)
public static void parseExecute(UsingList usingList, DatasetGraph dataset, String fileName, String baseURI, Syntax syntax)
public static void parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input)
usingList
- A list of USING or USING NAMED statements that be added to all UpdateWithUsing
queriesinput
- The source of the update request (must be UTF-8).public static void parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input, Syntax syntax)
usingList
- A list of USING or USING NAMED statements that be added to all UpdateWithUsing
queriesinput
- The source of the update request (must be UTF-8).syntax
- The update language syntaxpublic static void parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input, String baseURI)
usingList
- A list of USING or USING NAMED statements that be added to all UpdateWithUsing
queriesinput
- The source of the update request (must be UTF-8).baseURI
- The base URI for resolving relative URIs.public static void parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input, String baseURI, Syntax syntax)
usingList
- A list of USING or USING NAMED statements that be added to all UpdateWithUsing
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.syntax
- The update language syntaxLicenced under the Apache License, Version 2.0