Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::function::TableFunction Struct Reference

#include <table_functions.h>

Inheritance diagram for kuzu::function::TableFunction:
kuzu::function::Function

Public Member Functions

 TableFunction ()
 
 TableFunction (std::string name, table_func_t tableFunc, table_func_bind_t bindFunc, table_func_init_shared_t initSharedFunc, table_func_init_local_t initLocalFunc, std::vector< common::LogicalTypeID > inputTypes, std::optional< table_func_finalize_t > finalizeFunc={})
 
 TableFunction (std::string name, table_func_t tableFunc, table_func_bind_t bindFunc, table_func_init_shared_t initSharedFunc, table_func_init_local_t initLocalFunc, table_func_progress_t progressFunc, std::vector< common::LogicalTypeID > inputTypes, std::optional< table_func_finalize_t > finalizeFunc={})
 
std::string signatureToString () const override
 
- Public Member Functions inherited from kuzu::function::Function
 Function ()
 
 Function (std::string name, std::vector< common::LogicalTypeID > parameterTypeIDs)
 
 Function (const Function &)=default
 
virtual ~Function ()=default
 
template<class TARGET >
const TARGET * constPtrCast () const
 
template<class TARGET >
TARGET * ptrCast ()
 

Public Attributes

table_func_t tableFunc
 
table_func_bind_t bindFunc
 
table_func_init_shared_t initSharedStateFunc
 
table_func_init_local_t initLocalStateFunc
 
table_func_can_parallel_t canParallelFunc = [] { return true; }
 
table_func_progress_t progressFunc = [](TableFuncSharedState*) { return 0.0; }
 
table_func_finalize_t finalizeFunc = [](auto, auto, auto) {}
 
- Public Attributes inherited from kuzu::function::Function
std::string name
 
std::vector< common::LogicalTypeIDparameterTypeIDs
 
bool isVarLength = false
 
bool isListLambda = false
 

Constructor & Destructor Documentation

◆ TableFunction() [1/3]

kuzu::function::TableFunction::TableFunction ( )
inline

◆ TableFunction() [2/3]

kuzu::function::TableFunction::TableFunction ( std::string name,
table_func_t tableFunc,
table_func_bind_t bindFunc,
table_func_init_shared_t initSharedFunc,
table_func_init_local_t initLocalFunc,
std::vector< common::LogicalTypeID > inputTypes,
std::optional< table_func_finalize_t > finalizeFunc = {} )
inline

◆ TableFunction() [3/3]

kuzu::function::TableFunction::TableFunction ( std::string name,
table_func_t tableFunc,
table_func_bind_t bindFunc,
table_func_init_shared_t initSharedFunc,
table_func_init_local_t initLocalFunc,
table_func_progress_t progressFunc,
std::vector< common::LogicalTypeID > inputTypes,
std::optional< table_func_finalize_t > finalizeFunc = {} )
inline

Member Function Documentation

◆ signatureToString()

std::string kuzu::function::TableFunction::signatureToString ( ) const
inlineoverridevirtual

Reimplemented from kuzu::function::Function.

Member Data Documentation

◆ bindFunc

table_func_bind_t kuzu::function::TableFunction::bindFunc

◆ canParallelFunc

table_func_can_parallel_t kuzu::function::TableFunction::canParallelFunc = [] { return true; }

◆ finalizeFunc

table_func_finalize_t kuzu::function::TableFunction::finalizeFunc = [](auto, auto, auto) {}

◆ initLocalStateFunc

table_func_init_local_t kuzu::function::TableFunction::initLocalStateFunc

◆ initSharedStateFunc

table_func_init_shared_t kuzu::function::TableFunction::initSharedStateFunc

◆ progressFunc

table_func_progress_t kuzu::function::TableFunction::progressFunc = [](TableFuncSharedState*) { return 0.0; }

◆ tableFunc

table_func_t kuzu::function::TableFunction::tableFunc

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