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

#include <lance/lance.h>

Public Attributes

LanceStorageOptionsFetchFn fetch
 
LanceStorageOptionsFetchFn force_fetch
 
LanceStorageOptionsProviderReleaseFn release
 
void * provider_ctx
 
const char * provider_id
 

Detailed Description

Foreign storage-options provider declaration.

fetch is required. force_fetch is optional; omission follows the native trait default and calls fetch. provider_id is copied and must be non-empty. It preserves native equality and object-store registry cache identity, so equal IDs may share a native store.

Ownership of provider_ctx and release transfers only when lance_storage_options_provider_new succeeds. The library retains the context through every native owner that still needs its credentials, including accessors and datasets, and calls release(provider_ctx) exactly once when the final owner drops. Object-store registry cache entries do not keep the context alive.

Definition at line 9624 of file lance.h.

Member Data Documentation

◆ fetch

LanceStorageOptionsFetchFn LanceStorageOptionsProviderSpec::fetch

Definition at line 9625 of file lance.h.

◆ force_fetch

LanceStorageOptionsFetchFn LanceStorageOptionsProviderSpec::force_fetch

Definition at line 9626 of file lance.h.

◆ provider_ctx

void* LanceStorageOptionsProviderSpec::provider_ctx

Definition at line 9628 of file lance.h.

◆ provider_id

const char* LanceStorageOptionsProviderSpec::provider_id

Definition at line 9629 of file lance.h.

◆ release

LanceStorageOptionsProviderReleaseFn LanceStorageOptionsProviderSpec::release

Definition at line 9627 of file lance.h.


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