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

#include <lance/detail/declarations.hpp>

Public Member Functions

 BatchUDFCall (const BatchUDF &udf, std::optional< std::vector< std::string > > columns, std::optional< uint32_t > batch_size)
 
 BatchUDFCall (const BatchUDFV2 &udf, std::optional< std::vector< std::string > > columns, std::optional< uint32_t > batch_size)
 
 BatchUDFCall (const BatchUDFCall &)=delete
 
BatchUDFCall & operator= (const BatchUDFCall &)=delete
 
 BatchUDFCall (BatchUDFCall &&)=delete
 
BatchUDFCall & operator= (BatchUDFCall &&)=delete
 

Public Attributes

std::optional< std::vector< std::string > > read_columns
 
std::vector< const char * > read_column_ptrs
 
uint32_t batch_size_value = 0
 
const char *const * read_columns_ptr = nullptr
 
const uint32_t * batch_size_ptr = nullptr
 
MapperContext mapper_context {}
 
CheckpointContext checkpoint_context {}
 
LanceUDFCheckpointStore raw_store {}
 
LanceBatchUDF raw {}
 
MapperContextV2 mapper_context_v2 {}
 
CheckpointContextV2 checkpoint_context_v2 {}
 
LanceUDFCheckpointStoreV2 raw_store_v2 {}
 
LanceBatchUDFV2 raw_v2 {}
 

Detailed Description

Complete call-scoped state for one native BatchUDF invocation.

The raw callback table points only into this object. Keep it on the stack for the duration of the synchronous add-columns call; it is neither movable nor copyable.

Definition at line 1800 of file declarations.hpp.

Constructor & Destructor Documentation

◆ BatchUDFCall() [1/4]

lance::callback_detail::BatchUDFCall::BatchUDFCall ( const BatchUDF & udf,
std::optional< std::vector< std::string > > columns,
std::optional< uint32_t > batch_size )

◆ BatchUDFCall() [2/4]

lance::callback_detail::BatchUDFCall::BatchUDFCall ( const BatchUDFV2 & udf,
std::optional< std::vector< std::string > > columns,
std::optional< uint32_t > batch_size )

◆ BatchUDFCall() [3/4]

lance::callback_detail::BatchUDFCall::BatchUDFCall ( const BatchUDFCall & )
delete

◆ BatchUDFCall() [4/4]

lance::callback_detail::BatchUDFCall::BatchUDFCall ( BatchUDFCall && )
delete

Member Function Documentation

◆ operator=() [1/2]

BatchUDFCall & lance::callback_detail::BatchUDFCall::operator= ( BatchUDFCall && )
delete

◆ operator=() [2/2]

BatchUDFCall & lance::callback_detail::BatchUDFCall::operator= ( const BatchUDFCall & )
delete

Member Data Documentation

◆ batch_size_ptr

const uint32_t* lance::callback_detail::BatchUDFCall::batch_size_ptr = nullptr

Definition at line 1805 of file declarations.hpp.

◆ batch_size_value

uint32_t lance::callback_detail::BatchUDFCall::batch_size_value = 0

Definition at line 1803 of file declarations.hpp.

◆ checkpoint_context

CheckpointContext lance::callback_detail::BatchUDFCall::checkpoint_context {}

Definition at line 1807 of file declarations.hpp.

◆ checkpoint_context_v2

CheckpointContextV2 lance::callback_detail::BatchUDFCall::checkpoint_context_v2 {}

Definition at line 1811 of file declarations.hpp.

◆ mapper_context

MapperContext lance::callback_detail::BatchUDFCall::mapper_context {}

Definition at line 1806 of file declarations.hpp.

◆ mapper_context_v2

MapperContextV2 lance::callback_detail::BatchUDFCall::mapper_context_v2 {}

Definition at line 1810 of file declarations.hpp.

◆ raw

LanceBatchUDF lance::callback_detail::BatchUDFCall::raw {}

Definition at line 1809 of file declarations.hpp.

◆ raw_store

LanceUDFCheckpointStore lance::callback_detail::BatchUDFCall::raw_store {}

Definition at line 1808 of file declarations.hpp.

◆ raw_store_v2

LanceUDFCheckpointStoreV2 lance::callback_detail::BatchUDFCall::raw_store_v2 {}

Definition at line 1812 of file declarations.hpp.

◆ raw_v2

LanceBatchUDFV2 lance::callback_detail::BatchUDFCall::raw_v2 {}

Definition at line 1813 of file declarations.hpp.

◆ read_column_ptrs

std::vector<const char*> lance::callback_detail::BatchUDFCall::read_column_ptrs

Definition at line 1802 of file declarations.hpp.

◆ read_columns

std::optional<std::vector<std::string> > lance::callback_detail::BatchUDFCall::read_columns

Definition at line 1801 of file declarations.hpp.

◆ read_columns_ptr

const char* const* lance::callback_detail::BatchUDFCall::read_columns_ptr = nullptr

Definition at line 1804 of file declarations.hpp.


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