Class AbstractParserUpdate

All Implemented Interfaces:
Operation, Update
Direct Known Subclasses:
SailUpdate

public abstract class AbstractParserUpdate extends AbstractUpdate
Author:
Jeen Broekstra
  • Constructor Details

    • AbstractParserUpdate

      protected AbstractParserUpdate(ParsedUpdate parsedUpdate)
  • Method Details

    • getParsedUpdate

      public ParsedUpdate getParsedUpdate()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getMergedDataset

      protected Dataset getMergedDataset(Dataset sparqlDefinedDataset)
      Determines the active dataset by appropriately merging the pre-set dataset and the dataset defined in the SPARQL operation itself. If the SPARQL operation contains WITH, USING, or USING NAMED clauses, these should override whatever is preset.
      Parameters:
      sparqlDefinedDataset - the dataset as defined in the SPARQL update itself.
      Returns:
      a Dataset comprised of a merge between the pre-set dataset and the SPARQL-defined dataset.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object