Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
signet::forge::WalWriterOptions Struct Reference

Configuration options for WalWriter::open(). More...

#include <wal.hpp>

Public Attributes

bool sync_on_append = false
 If true, fsync after every record append.
 
bool sync_on_flush = true
 If true, fsync on explicit flush() calls.
 
size_t buffer_size = 65536
 stdio setvbuf buffer size in bytes
 
int64_t start_seq = 0
 First sequence number for brand-new files.
 

Detailed Description

Configuration options for WalWriter::open().

Defined at namespace scope (not nested in WalWriter) to avoid an Apple Clang bug with default member initializers in nested structs.

Definition at line 218 of file wal.hpp.

Member Data Documentation

◆ buffer_size

size_t signet::forge::WalWriterOptions::buffer_size = 65536

stdio setvbuf buffer size in bytes

Definition at line 221 of file wal.hpp.

◆ start_seq

int64_t signet::forge::WalWriterOptions::start_seq = 0

First sequence number for brand-new files.

Definition at line 222 of file wal.hpp.

◆ sync_on_append

bool signet::forge::WalWriterOptions::sync_on_append = false

If true, fsync after every record append.

Definition at line 219 of file wal.hpp.

◆ sync_on_flush

bool signet::forge::WalWriterOptions::sync_on_flush = true

If true, fsync on explicit flush() calls.

Definition at line 220 of file wal.hpp.


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