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

#include <lance/detail/declarations.hpp>

Public Attributes

BatchUDFGetBatchV2 get_batch
 
std::function< void(const BatchUDFInfo &, ArrowArray &, ArrowSchema &)> insert_batch
 
std::function< std::optional< std::string >(uint32_t)> get_fragment
 
std::function< void(uint64_t, const std::string &)> insert_fragment
 

Detailed Description

Schema-aware native UDF checkpoint store. Insert and fragment callbacks are shared with UDFCheckpointStore; only the batch lookup differs. All four callbacks are required when the store is engaged.

Definition at line 1626 of file declarations.hpp.

Member Data Documentation

◆ get_batch

BatchUDFGetBatchV2 lance::UDFCheckpointStoreV2::get_batch

Definition at line 1627 of file declarations.hpp.

◆ get_fragment

std::function<std::optional<std::string>(uint32_t)> lance::UDFCheckpointStoreV2::get_fragment

Definition at line 1634 of file declarations.hpp.

◆ insert_batch

std::function<void( const BatchUDFInfo&, ArrowArray&, ArrowSchema&)> lance::UDFCheckpointStoreV2::insert_batch

Definition at line 1632 of file declarations.hpp.

◆ insert_fragment

std::function<void(uint64_t, const std::string&)> lance::UDFCheckpointStoreV2::insert_fragment

Definition at line 1636 of file declarations.hpp.


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