Class UpdateAction

java.lang.Object
org.apache.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 Details

    • UpdateAction

      public UpdateAction()
  • Method Details

    • readExecute

      public static void readExecute(String filename, org.apache.jena.rdf.model.Model model)
      Read a file containing SPARQL Update operations, and execute the operations.
      Parameters:
      filename -
      model -
    • readExecute

      public static void readExecute(String filename, org.apache.jena.graph.Graph graph)
      Read a file containing SPARQL Update operations, and execute the operations.
      Parameters:
      filename -
      graph -
    • 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, Dataset dataset, QuerySolution inputBinding)
      Read a file containing SPARQL Update operations, and execute the operations.
      Parameters:
      filename -
      dataset -
      inputBinding -
    • readExecute

      public static void readExecute(String filename, DatasetGraph datasetGraph, Binding inputBinding)
      Read a file containing SPARQL Update operations, and execute the operations.
      Parameters:
      filename -
      datasetGraph -
      inputBinding -
    • parseExecute

      public static void parseExecute(String updateString, org.apache.jena.rdf.model.Model model)
      Parse a string containing SPARQL Update operations, and execute the operations.
      Parameters:
      updateString -
      model -
    • parseExecute

      public static void parseExecute(String updateString, org.apache.jena.graph.Graph graph)
      Parse a string containing SPARQL Update operations, and execute the operations.
      Parameters:
      updateString -
      graph -
    • 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, Dataset dataset, QuerySolution inputBinding)
      Parse a string containing SPARQL Update operations, and execute the operations.
      Parameters:
      updateString -
      dataset -
      inputBinding -
    • parseExecute

      public static void parseExecute(String updateString, DatasetGraph dataset, Binding inputBinding)
      Parse a string containing SPARQL Update operations, and execute the operations.
      Parameters:
      updateString -
      dataset -
      inputBinding -
    • execute

      public static void execute(UpdateRequest request, org.apache.jena.rdf.model.Model model)
      Execute SPARQL Update operations.
      Parameters:
      request -
      model -
    • execute

      public static void execute(UpdateRequest request, org.apache.jena.graph.Graph graph)
      Execute SPARQL Update operations.
      Parameters:
      request -
      graph -
    • 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, Dataset dataset, QuerySolution inputBinding)
      Execute SPARQL Update operations.
      Parameters:
      request -
      dataset -
      inputBinding -
    • execute

      public static void execute(UpdateRequest request, DatasetGraph datasetGraph, Binding inputBinding)
      Execute SPARQL Update operations.
      Parameters:
      request -
      datasetGraph -
      inputBinding -
    • execute

      public static void execute(Update update, org.apache.jena.rdf.model.Model model)
      Execute a single SPARQL Update operation.
      Parameters:
      update -
      model -
    • execute

      public static void execute(Update update, org.apache.jena.graph.Graph graph)
      Execute a single SPARQL Update operation.
      Parameters:
      update -
      graph -
    • 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, Dataset dataset, QuerySolution inputBinding)
      Execute a single SPARQL Update operation.
      Parameters:
      update -
      dataset -
      inputBinding -
    • execute

      public static void execute(Update update, DatasetGraph datasetGraph, Binding inputBinding)
      Execute a single SPARQL Update operation.
      Parameters:
      update -
      datasetGraph -
      inputBinding -
    • parseExecute

      public static void parseExecute(UsingList usingList, DatasetGraph dataset, String fileName)
      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

      public static void parseExecute(UsingList usingList, DatasetGraph dataset, InputStream input)
      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 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 DatasetGraph 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 DatasetGraph 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 DatasetGraph 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 DatasetGraph 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 DatasetGraph 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