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
-
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:RDFChanges
Indicator that a transaction begins, or becomes a write transaction.- Specified by:
txnBegin
in interfaceRDFChanges
- Overrides:
txnBegin
in classRDFChangesWriterText
-
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 interfaceRDFChanges
- Overrides:
txnCommit
in classRDFChangesWriterText
-
txnAbort
public void txnAbort()Description copied from interface:RDFChanges
Indicator that a transaction aborts- Specified by:
txnAbort
in interfaceRDFChanges
- Overrides:
txnAbort
in classRDFChangesWriterText
-
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 interfaceRDFChanges
- Overrides:
segment
in classRDFChangesWriterText
-