Lbug C++ API
Loading...
Searching...
No Matches
lbug::function::ScalarOrAggregateFunction Struct Reference

#include <function.h>

Inheritance diagram for lbug::function::ScalarOrAggregateFunction:
lbug::function::Function lbug::function::ScalarFunction

Public Member Functions

 ScalarOrAggregateFunction ()
 ScalarOrAggregateFunction (std::string name, std::vector< common::LogicalTypeID > parameterTypeIDs, common::LogicalTypeID returnTypeID)
 ScalarOrAggregateFunction (std::string name, std::vector< common::LogicalTypeID > parameterTypeIDs, common::LogicalTypeID returnTypeID, scalar_bind_func bindFunc)
std::string signatureToString () const override
Public Member Functions inherited from lbug::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

common::LogicalTypeID returnTypeID = common::LogicalTypeID::ANY
scalar_bind_func bindFunc = nullptr
Public Attributes inherited from lbug::function::Function
std::string name
std::vector< common::LogicalTypeIDparameterTypeIDs
bool isReadOnly = true

Constructor & Destructor Documentation

◆ ScalarOrAggregateFunction() [1/3]

lbug::function::ScalarOrAggregateFunction::ScalarOrAggregateFunction ( )
inline

◆ ScalarOrAggregateFunction() [2/3]

lbug::function::ScalarOrAggregateFunction::ScalarOrAggregateFunction ( std::string name,
std::vector< common::LogicalTypeID > parameterTypeIDs,
common::LogicalTypeID returnTypeID )
inline

◆ ScalarOrAggregateFunction() [3/3]

lbug::function::ScalarOrAggregateFunction::ScalarOrAggregateFunction ( std::string name,
std::vector< common::LogicalTypeID > parameterTypeIDs,
common::LogicalTypeID returnTypeID,
scalar_bind_func bindFunc )
inline

Member Function Documentation

◆ signatureToString()

std::string lbug::function::ScalarOrAggregateFunction::signatureToString ( ) const
inlineoverridevirtual

Reimplemented from lbug::function::Function.

Member Data Documentation

◆ bindFunc

scalar_bind_func lbug::function::ScalarOrAggregateFunction::bindFunc = nullptr

◆ returnTypeID

common::LogicalTypeID lbug::function::ScalarOrAggregateFunction::returnTypeID = common::LogicalTypeID::ANY

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