|
Lance C/C++ Bindings
C ABI and header-only C++ RAII wrappers for the Lance columnar data format
|
#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) |
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.
| void(* LanceStorageOptionsFetchResult::release_snapshot) (void *snapshot_ctx) |