Class AssemblerFileLog

java.lang.Object
org.apache.jena.assembler.assemblers.AssemblerBase
org.apache.jena.rdfpatch.filelog.AssemblerFileLog
All Implemented Interfaces:
Assembler

public class AssemblerFileLog extends AssemblerBase
Assembler for a dataset that wraps another and provides change logging to a file.
     <#dataset> rdf:type patch:LoggedDataset;
         patch:logFile "Dir/BaseFilename";
         patch:logPolicy "

 
Policies: "date", "timestamp", "index", "rotate", "shift", "fixed" and "none".
  • "date" - add the date to the base name, rotate at midnight.
  • "timestamp" - add a timestamp, rotate on every file.
  • "index" - add a counter, rotate on every file. Highest numbered file is latest written.
  • "rotate" or "shift"- move indexed files up one; write the baseFilename. Highest numbered file is the oldest written.
  • "fixed" or "none" - only the base file name is used.