A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
Loading...
Searching...
No Matches
a11::stores::SQLiteChunkStoreMetadata Struct Reference

Node-level state read from the node row, without touching any fragment. More...

#include <cpp/a11/stores/sqlite_chunk_store.h>

Public Attributes

std::string id
 Node id, as stored.
 
std::string owner_id
 Recorded owner, possibly empty.
 
bool closed = false
 Whether writes have been sealed.
 
std::optional< absl::Status > status
 Terminal status when closed.
 
std::optional< std::uint32_t > final_seq
 Logical final fragment, if any.
 
size_t size = 0
 Fragment slots, tombstones included.
 
std::uint64_t total_chunks_put = 0
 Lifetime accepted write count.
 
std::uint64_t next_cursor = 0
 Next seq the shared Next() will want.
 
std::uint64_t data_bytes = 0
 Cached total of stored payload bytes.
 
std::optional< std::uint32_t > max_seq
 Greatest assigned sequence.
 
std::uint64_t revision = 0
 Monotonic state-change revision.
 
absl::Time created_at = absl::InfinitePast()
 First accepted write.
 
absl::Time updated_at = absl::InfinitePast()
 Most recent mutation.
 

Detailed Description

Node-level state read from the node row, without touching any fragment.

Member Data Documentation

◆ closed

bool a11::stores::SQLiteChunkStoreMetadata::closed = false

Whether writes have been sealed.

◆ created_at

absl::Time a11::stores::SQLiteChunkStoreMetadata::created_at = absl::InfinitePast()

First accepted write.

◆ data_bytes

std::uint64_t a11::stores::SQLiteChunkStoreMetadata::data_bytes = 0

Cached total of stored payload bytes.

◆ final_seq

std::optional<std::uint32_t> a11::stores::SQLiteChunkStoreMetadata::final_seq

Logical final fragment, if any.

◆ id

std::string a11::stores::SQLiteChunkStoreMetadata::id

Node id, as stored.

◆ max_seq

std::optional<std::uint32_t> a11::stores::SQLiteChunkStoreMetadata::max_seq

Greatest assigned sequence.

◆ next_cursor

std::uint64_t a11::stores::SQLiteChunkStoreMetadata::next_cursor = 0

Next seq the shared Next() will want.

◆ owner_id

std::string a11::stores::SQLiteChunkStoreMetadata::owner_id

Recorded owner, possibly empty.

◆ revision

std::uint64_t a11::stores::SQLiteChunkStoreMetadata::revision = 0

Monotonic state-change revision.

◆ size

size_t a11::stores::SQLiteChunkStoreMetadata::size = 0

Fragment slots, tombstones included.

◆ status

std::optional<absl::Status> a11::stores::SQLiteChunkStoreMetadata::status

Terminal status when closed.

◆ total_chunks_put

std::uint64_t a11::stores::SQLiteChunkStoreMetadata::total_chunks_put = 0

Lifetime accepted write count.

◆ updated_at

absl::Time a11::stores::SQLiteChunkStoreMetadata::updated_at = absl::InfinitePast()

Most recent mutation.


The documentation for this struct was generated from the following file: