Module org.apache.jena.rdfpatch
Package org.apache.jena.rdfpatch.filelog
Class RDFChangesManagedOutput
java.lang.Object
org.apache.jena.rdfpatch.text.RDFChangesWriterText
org.apache.jena.rdfpatch.filelog.RDFChangesManagedOutput
- All Implemented Interfaces:
AutoCloseable,RDFChanges
Log changes to a
ManagedOutput.
ManagedOutput sections-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.jena.rdfpatch.text.RDFChangesWriterText
add, addPrefix, close, create, delete, deletePrefix, finish, header, start
-
Constructor Details
-
RDFChangesManagedOutput
-
-
Method Details
-
txnBegin
public void txnBegin()Description copied from interface:RDFChangesIndicator that a transaction begins, or becomes a write transaction.- Specified by:
txnBeginin interfaceRDFChanges- Overrides:
txnBeginin classRDFChangesWriterText
-
txnCommit
public void txnCommit()Description copied from interface:RDFChangesIndicator that a transaction commits. If this throws an exception, the transaction will be aborted locally and not commit after all.- Specified by:
txnCommitin interfaceRDFChanges- Overrides:
txnCommitin classRDFChangesWriterText
-
txnAbort
public void txnAbort()Description copied from interface:RDFChangesIndicator that a transaction aborts- Specified by:
txnAbortin interfaceRDFChanges- Overrides:
txnAbortin classRDFChangesWriterText
-
segment
public void segment()Description copied from interface:RDFChangesSegment 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:
segmentin interfaceRDFChanges- Overrides:
segmentin classRDFChangesWriterText
-