Class DatasetChangesCapture

  • All Implemented Interfaces:
    DatasetChanges

    @Deprecated
    public class DatasetChangesCapture
    extends java.lang.Object
    implements DatasetChanges
    Deprecated.
    Do not use. This class is not transaction-aware.
    Capture a record of quad actions
    • Constructor Summary

      Constructors 
      Constructor Description
      DatasetChangesCapture()
      Deprecated.
      Capture quad actions, excluding no-ops
      DatasetChangesCapture​(boolean recordNoOps)
      Deprecated.
      Capture quad actions, either including or excluding the "no ops"
      DatasetChangesCapture​(boolean captureAdd, boolean captureDelete, boolean captureNoAdd, boolean captureNoDelete)
      Deprecated.
      Capture quad actions, selectively by category
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void change​(QuadAction qaction, Node g, Node s, Node p, Node o)
      Deprecated.
      A change has occurred
      void finish()
      Deprecated.
      Indicator that a sequence of changes has now finished
      java.util.List<org.apache.jena.atlas.lib.Pair<QuadAction,​Quad>> getActions()
      Deprecated.
      The actions recorded.
      void reset()
      Deprecated.
      Release any resources
      void start()
      Deprecated.
      Indicator that a sequence of changes is about to start
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DatasetChangesCapture

        public DatasetChangesCapture()
        Deprecated.
        Capture quad actions, excluding no-ops
      • DatasetChangesCapture

        public DatasetChangesCapture​(boolean recordNoOps)
        Deprecated.
        Capture quad actions, either including or excluding the "no ops"
        Parameters:
        recordNoOps - Whether to record QuadAction.NO_ADD and QuadAction.NO_DELETE
      • DatasetChangesCapture

        public DatasetChangesCapture​(boolean captureAdd,
                                     boolean captureDelete,
                                     boolean captureNoAdd,
                                     boolean captureNoDelete)
        Deprecated.
        Capture quad actions, selectively by category
    • Method Detail

      • getActions

        public java.util.List<org.apache.jena.atlas.lib.Pair<QuadAction,​Quad>> getActions()
        Deprecated.
        The actions recorded. Only valid until the next start call.
      • start

        public void start()
        Deprecated.
        Description copied from interface: DatasetChanges
        Indicator that a sequence of changes is about to start
        Specified by:
        start in interface DatasetChanges
      • finish

        public void finish()
        Deprecated.
        Description copied from interface: DatasetChanges
        Indicator that a sequence of changes has now finished
        Specified by:
        finish in interface DatasetChanges