Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
Loading...
Searching...
No Matches
LanceTransactionOptions Struct Reference

#include <lance/lance.h>

Public Attributes

const char * uuid
 
const char * tag
 
bool has_transaction_properties
 
const char *const * property_keys
 
const char *const * property_values
 
size_t property_count
 

Detailed Description

Options for one-shot native transaction construction.

uuid == NULL lets Lance generate a v4 UUID. A non-NULL value, including an empty string, is passed through unchanged. tag == NULL maps to native None; a non-NULL empty string maps to Some("").

has_transaction_properties == false maps to native None. has_transaction_properties == true maps to Some(map), including Some(empty) when property_count == 0. If property_count > 0, property_keys and property_values must contain that many non-NULL UTF-8 strings. Keys and values are separate parallel arrays, so keys may contain any character, including =. Duplicate keys follow native last-write-wins map behavior.

Definition at line 7396 of file lance.h.

Member Data Documentation

◆ has_transaction_properties

bool LanceTransactionOptions::has_transaction_properties

Definition at line 7399 of file lance.h.

◆ property_count

size_t LanceTransactionOptions::property_count

Definition at line 7402 of file lance.h.

◆ property_keys

const char* const* LanceTransactionOptions::property_keys

Definition at line 7400 of file lance.h.

◆ property_values

const char* const* LanceTransactionOptions::property_values

Definition at line 7401 of file lance.h.

◆ tag

const char* LanceTransactionOptions::tag

Definition at line 7398 of file lance.h.

◆ uuid

const char* LanceTransactionOptions::uuid

Definition at line 7397 of file lance.h.


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