File getSnapshotFile(IRootBlockView rbv) throws IOException
Fileon which the snapshot will be written. A common strategy is to label each snapshot with the commit counter from the associated root block and place the snapshots within some directory known to the application. E.g., "snapshots/snapshot-commitCounter.jnl". If the snapshot is to be compressed, then the best practice is to have the file name end with ".gz". See the
CommitCounterUtilityfor helper classes for dealing with commit counters as fixed width strings.
rbv- The current root block. The snapshot will be consistent as of the commit point associated with this root block.
truethe generated snapshot will be compressed.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.