5 #ifndef CVMFS_REFLOG_SQL_H_
6 #define CVMFS_REFLOG_SQL_H_
105 #endif // CVMFS_REFLOG_SQL_H_
bool CheckSchemaCompatibility()
bool BindOlderThan(const uint64_t timestamp)
uint64_t RetrieveTimestamp()
const std::string & filename() const
static const std::string kFqrnKey
shash::Any RetrieveHash() const
SqlListReferences(const ReflogDatabase *database)
SqlGetTimestamp(const ReflogDatabase *database)
bool BindType(const ReferenceType type)
bool BindReference(const shash::Any &reference_hash, const ReferenceType type)
Database(const std::string &filename, const OpenMode open_mode)
bool BindReference(const shash::Any &reference_hash, const ReferenceType type)
bool CompactDatabase() const
bool LiveSchemaUpgradeIfNecessary()
static const float kLatestSupportedSchema
static const float kLatestSchema
SqlContainsReference(const ReflogDatabase *database)
bool BindReference(const shash::Any &reference_hash, const ReferenceType type)
SqlCountReferences(const ReflogDatabase *database)
SqlRemoveReference(const ReflogDatabase *database)
bool InsertInitialValues(const std::string &repo_name)
static const unsigned kLatestSchemaRevision
bool CreateEmptyDatabase()
bool BindReference(const shash::Any &reference_hash, const ReferenceType type)
SqlInsertReference(const ReflogDatabase *database)
ReflogDatabase(const std::string &filename, const OpenMode open_mode)
static shash::Suffix ToSuffix(const ReferenceType type)