Everett
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
sqlite_catalog.h File Reference

Stores retained roots, timeline generations and exact file graphs in optional SQLite metadata. More...

#include <everett/mapped_blob.h>
#include <everett/mapped_cola.h>
#include <everett/object_writer.h>
#include <sqlite3.h>
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <limits>
#include <optional>
#include <span>
#include <stdexcept>
#include <string>
#include <string_view>
#include <type_traits>
#include <unordered_set>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  everett::catalog_options
 
struct  everett::catalog_object_reservation
 
struct  everett::catalog_saved_root
 
struct  everett::catalog_native_merge
 
struct  everett::catalog_timeline_head
 
struct  everett::catalog_timeline_publication
 
struct  everett::catalog_auxiliary_roots
 
struct  everett::catalog_session_head
 
struct  everett::catalog_session_publication
 
struct  everett::catalog_operation
 
struct  everett::catalog_error
 
struct  everett::sqlite_catalog_ops
 
struct  everett::catalog_detail::outcome_reader
 
struct  everett::catalog_detail::statement
 
struct  everett::sqlite_catalog< P, Ops >
 
struct  everett::sqlite_catalog< P, Ops >::cola_pair_descriptor
 
struct  everett::sqlite_catalog< P, Ops >::cola_pair_files
 
struct  everett::sqlite_catalog< P, Ops >::prepared_cola_pair< Mapped >
 

Namespaces

namespace  everett
 
namespace  everett::catalog_detail
 

Typedefs

using everett::catalog_detail::bytes = std::vector< std::byte >
 

Enumerations

enum class  everett::catalog_admission { everett::trusted , everett::scan }
 
enum class  everett::catalog_native_merge_kind { everett::replacement , everett::conservative_tombstones }
 

Functions

void everett::catalog_detail::number (bytes &out, std::uint64_t value)
 
void everett::catalog_detail::field (bytes &out, std::string_view value)
 
void everett::catalog_detail::identity (bytes &out, object_id const &value)
 
void everett::catalog_detail::pair (bytes &out, blob_identity const &value)
 
void everett::catalog_detail::timeline (bytes &out, catalog_timeline_head const &value)
 
void everett::catalog_detail::binary (bytes &out, std::span< std::byte const > value)
 
void everett::catalog_detail::auxiliary (bytes &out, catalog_auxiliary_roots const &value)
 
catalog_auxiliary_roots everett::catalog_detail::canonical_auxiliary (catalog_auxiliary_roots value, blob_identity const &primary)
 
void everett::catalog_detail::session (bytes &out, catalog_session_head const &value)
 
void everett::catalog_detail::name (std::string_view value)
 
std::int64_t everett::catalog_detail::integer (std::uint64_t value)
 
bool everett::catalog_detail::storage_error (int code) noexcept
 
void everett::catalog_detail::fail (sqlite3 *db, int code)
 
void everett::catalog_detail::exec (sqlite3 *db, char const *sql)
 
std::string everett::catalog_detail::schema_for (unsigned version)
 

Variables

constexpr char everett::catalog_detail::schema []
 
constexpr char everett::catalog_detail::native_merges_schema []
 
constexpr char everett::catalog_detail::private_scopes_schema []
 
constexpr char everett::catalog_detail::private_attempts_schema []
 
constexpr char everett::catalog_detail::released_private_scopes_schema []
 
constexpr char everett::catalog_detail::live_owner_objects_schema []
 
constexpr char everett::catalog_detail::live_owner_roots_schema []
 

Detailed Description

Stores retained roots, timeline generations and exact file graphs in optional SQLite metadata.

Author
Edward Kmett ekmet.nosp@m.t@gm.nosp@m.ail.c.nosp@m.om
SPDX-FileType: SOURCE
SPDX-FileCopyrightText: 2026 Edward Kmett <ekmett@gmail.com>
SPDX-License-Identifier: BSD-2-Clause OR Apache-2.0