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

#include <lance/lance.h>

Public Attributes

int32_t has_options
 
const char *const * keys
 
const char *const * values
 
size_t count
 
void * snapshot_ctx
 
void(* release_snapshot )(void *snapshot_ctx)
 

Detailed Description

Result of one provider fetch.

has_options == 0 means native None. Any nonzero value means native Some; count == 0 then means Some(empty). Key and value arrays must contain exactly count entries.

The library copies the complete map and the callback error message before calling release_snapshot. release_snapshot, when non-NULL, is called exactly once on every path after the result struct was initialized, including malformed partial results and callback errors. Without a release callback the map storage is borrowed for the callback only.

Definition at line 9584 of file lance.h.

Member Data Documentation

◆ count

size_t LanceStorageOptionsFetchResult::count

Definition at line 9588 of file lance.h.

◆ has_options

int32_t LanceStorageOptionsFetchResult::has_options

Definition at line 9585 of file lance.h.

◆ keys

const char* const* LanceStorageOptionsFetchResult::keys

Definition at line 9586 of file lance.h.

◆ release_snapshot

void(* LanceStorageOptionsFetchResult::release_snapshot) (void *snapshot_ctx)

Definition at line 9590 of file lance.h.

◆ snapshot_ctx

void* LanceStorageOptionsFetchResult::snapshot_ctx

Definition at line 9589 of file lance.h.

◆ values

const char* const* LanceStorageOptionsFetchResult::values

Definition at line 9587 of file lance.h.


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