public class SnapshotRepository
extends org.openrdf.repository.sail.SailRepository
Constructor and Description |
---|
SnapshotRepository(KiWiVersioningSail sail) |
Modifier and Type | Method and Description |
---|---|
org.openrdf.repository.sail.SailRepositoryConnection |
getSnapshot(Date snapshotDate)
Get a read-only snapshot of the repository at the given date.
|
org.openrdf.repository.RepositoryResult<Version> |
listVersions()
List all versions of this repository.
|
org.openrdf.repository.RepositoryResult<Version> |
listVersions(Date from,
Date to)
List all versions of this repository between a start and end date.
|
getConnection, getDataDir, getSail, getValueFactory, initializeInternal, isWritable, setDataDir, shutDownInternal, toString
public SnapshotRepository(KiWiVersioningSail sail)
public org.openrdf.repository.sail.SailRepositoryConnection getSnapshot(Date snapshotDate) throws org.openrdf.repository.RepositoryException
snapshotDate
- the date of which to take the snapshot; the snapshot will consist of all
triples that have been created before or at the date and deleted after that date
(or not deleted at all).org.openrdf.repository.RepositoryException
public org.openrdf.repository.RepositoryResult<Version> listVersions() throws org.openrdf.sail.SailException
org.openrdf.sail.SailException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.