Class LoggingUpdateHandler

java.lang.Object
it.uniroma2.art.semanticturkey.changetracking.sail.BaseUpdateHandler
it.uniroma2.art.semanticturkey.changetracking.sail.LoggingUpdateHandler
All Implemented Interfaces:
UpdateHandler

public class LoggingUpdateHandler extends BaseUpdateHandler
An UpdateHandler logging requested operations.
Author:
Manuel Fiorelli
  • Constructor Details

    • LoggingUpdateHandler

      public LoggingUpdateHandler()
  • Method Details

    • addStatement

      public void addStatement(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts)
    • addStatement

      public void addStatement(org.eclipse.rdf4j.sail.UpdateContext modify, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts)
    • removeStatements

      public void removeStatements(org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts)
    • removeStatement

      public void removeStatement(org.eclipse.rdf4j.sail.UpdateContext modify, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI pred, org.eclipse.rdf4j.model.Value obj, org.eclipse.rdf4j.model.Resource[] newContexts)
    • clear

      public void clear(org.eclipse.rdf4j.model.Resource[] contexts)
    • setNamespace

      public void setNamespace(String prefix, String name)
    • clearNamespaces

      public void clearNamespaces()
    • removeNamespace

      public void removeNamespace(String prefix)
    • isReadOnly

      public boolean isReadOnly()
      Description copied from interface: UpdateHandler
      Checks whether no update has been recorded.
      Returns:
    • clearHandler

      public void clearHandler(org.eclipse.rdf4j.model.IRI... contexts)
    • getAdditions

      public Iterable<QuadPattern> getAdditions()
    • getRemovals

      public Iterable<QuadPattern> getRemovals()