public interface VersioningSail extends TransactionalSail
Version
).
Author: Sebastian SchaffertModifier and Type | Method and Description |
---|---|
org.openrdf.sail.SailConnection |
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.
|
org.openrdf.repository.RepositoryResult<Version> |
listVersions(org.openrdf.model.Resource r)
List all versions of this repository affecting the given resource as subject.
|
org.openrdf.repository.RepositoryResult<Version> |
listVersions(org.openrdf.model.Resource r,
Date from,
Date to)
List all versions of this repository affecting the given resource as subject between a start and end date.
|
addTransactionListener, isTransactionsEnabled, removeTransactionListener, setTransactionsEnabled
org.openrdf.repository.RepositoryResult<Version> listVersions() throws org.openrdf.sail.SailException
org.openrdf.sail.SailException
org.openrdf.repository.RepositoryResult<Version> listVersions(Date from, Date to) throws org.openrdf.sail.SailException
org.openrdf.sail.SailException
org.openrdf.sail.SailConnection getSnapshot(Date snapshotDate) throws org.openrdf.sail.SailException
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.sail.SailException
org.openrdf.repository.RepositoryResult<Version> listVersions(org.openrdf.model.Resource r) throws org.openrdf.sail.SailException
org.openrdf.sail.SailException
org.openrdf.repository.RepositoryResult<Version> listVersions(org.openrdf.model.Resource r, Date from, Date to) throws org.openrdf.sail.SailException
org.openrdf.sail.SailException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.