Class RDFChangesManagedOutput

java.lang.Object
org.apache.jena.rdfpatch.text.RDFChangesWriterText
org.apache.jena.rdfpatch.filelog.RDFChangesManagedOutput
All Implemented Interfaces:
AutoCloseable, RDFChanges

public class RDFChangesManagedOutput extends RDFChangesWriterText
Log changes to a ManagedOutput. ManagedOutput sections
  • Constructor Details

    • RDFChangesManagedOutput

      public RDFChangesManagedOutput(ManagedOutput output)
  • Method Details

    • txnBegin

      public void txnBegin()
      Description copied from interface: RDFChanges
      Indicator that a transaction begins, or becomes a write transaction.
      Specified by:
      txnBegin in interface RDFChanges
      Overrides:
      txnBegin in class RDFChangesWriterText
    • txnCommit

      public void txnCommit()
      Description copied from interface: RDFChanges
      Indicator that a transaction commits. If this throws an exception, the transaction will be aborted locally and not commit after all.
      Specified by:
      txnCommit in interface RDFChanges
      Overrides:
      txnCommit in class RDFChangesWriterText
    • txnAbort

      public void txnAbort()
      Description copied from interface: RDFChanges
      Indicator that a transaction aborts
      Specified by:
      txnAbort in interface RDFChanges
      Overrides:
      txnAbort in class RDFChangesWriterText
    • segment

      public void segment()
      Description copied from interface: RDFChanges
      Segment marker.

      A segment is a number of transactions; the grouping rationale is not defined by RDF Patch.

      It might be used to indicate a logical collection of change transactions in a long stream of transactions.

      There is no guarantee it will be used.

      Segments must contain complete transactions.
      Segments must not span start-finish pairs.

      Specified by:
      segment in interface RDFChanges
      Overrides:
      segment in class RDFChangesWriterText