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)
 
 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::string signatureToString () const override
 
std::unique_ptr< Functioncopy () 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; }
 
- Public Attributes inherited from kuzu::function::Function
std::string name
 
std::vector< common::LogicalTypeIDparameterTypeIDs
 
bool isVarLength
 

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 )
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 )
inline

Member Function Documentation

◆ copy()

std::unique_ptr< Function > kuzu::function::TableFunction::copy ( ) const
inlineoverridevirtual

◆ 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; }

◆ 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: