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

#include <binary_function_executor.h>

Classes

struct  BinaryComparisonSelectWrapper
 
struct  BinarySelectWrapper
 

Static Public Member Functions

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void executeOnValue (common::ValueVector &left, common::ValueVector &right, common::ValueVector &resultValueVector, uint64_t lPos, uint64_t rPos, uint64_t resPos, void *dataPtr)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void executeBothFlat (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void executeFlatUnFlat (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void executeUnFlatFlat (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void executeBothUnFlat (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void executeSwitch (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void execute (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void executeString (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void executeListStruct (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void executeMapCreation (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void executeListExtract (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void executeComparison (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void executeUDF (common::ValueVector &left, common::ValueVector &right, common::ValueVector &result, void *dataPtr)
 
template<class LEFT_TYPE , class RIGHT_TYPE , class FUNC , typename SELECT_WRAPPER >
static void selectOnValue (common::ValueVector &left, common::ValueVector &right, uint64_t lPos, uint64_t rPos, uint64_t resPos, uint64_t &numSelectedValues, std::span< common::sel_t > selectedPositionsBuffer)
 
template<class LEFT_TYPE , class RIGHT_TYPE , class FUNC , typename SELECT_WRAPPER >
static uint64_t selectBothFlat (common::ValueVector &left, common::ValueVector &right)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename FUNC , typename SELECT_WRAPPER >
static bool selectFlatUnFlat (common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector)
 
template<typename LEFT_TYPE , typename RIGHT_TYPE , typename FUNC , typename SELECT_WRAPPER >
static bool selectUnFlatFlat (common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector)
 
template<class LEFT_TYPE , class RIGHT_TYPE , class FUNC , typename SELECT_WRAPPER >
static bool selectBothUnFlat (common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector)
 
template<class LEFT_TYPE , class RIGHT_TYPE , class FUNC >
static bool select (common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector)
 
template<class LEFT_TYPE , class RIGHT_TYPE , class FUNC >
static bool selectComparison (common::ValueVector &left, common::ValueVector &right, common::SelectionVector &selVector)
 

Member Function Documentation

◆ execute()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void kuzu::function::BinaryFunctionExecutor::execute ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result )
inlinestatic

◆ executeBothFlat()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void kuzu::function::BinaryFunctionExecutor::executeBothFlat ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result,
void * dataPtr )
inlinestatic

◆ executeBothUnFlat()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void kuzu::function::BinaryFunctionExecutor::executeBothUnFlat ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result,
void * dataPtr )
inlinestatic

◆ executeComparison()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void kuzu::function::BinaryFunctionExecutor::executeComparison ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result )
inlinestatic

◆ executeFlatUnFlat()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void kuzu::function::BinaryFunctionExecutor::executeFlatUnFlat ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result,
void * dataPtr )
inlinestatic

◆ executeListExtract()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void kuzu::function::BinaryFunctionExecutor::executeListExtract ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result )
inlinestatic

◆ executeListStruct()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void kuzu::function::BinaryFunctionExecutor::executeListStruct ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result )
inlinestatic

◆ executeMapCreation()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void kuzu::function::BinaryFunctionExecutor::executeMapCreation ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result,
void * dataPtr )
inlinestatic

◆ executeOnValue()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void kuzu::function::BinaryFunctionExecutor::executeOnValue ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & resultValueVector,
uint64_t lPos,
uint64_t rPos,
uint64_t resPos,
void * dataPtr )
inlinestatic

◆ executeString()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void kuzu::function::BinaryFunctionExecutor::executeString ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result )
inlinestatic

◆ executeSwitch()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void kuzu::function::BinaryFunctionExecutor::executeSwitch ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result,
void * dataPtr )
inlinestatic

◆ executeUDF()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC >
static void kuzu::function::BinaryFunctionExecutor::executeUDF ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result,
void * dataPtr )
inlinestatic

◆ executeUnFlatFlat()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename RESULT_TYPE , typename FUNC , typename OP_WRAPPER >
static void kuzu::function::BinaryFunctionExecutor::executeUnFlatFlat ( common::ValueVector & left,
common::ValueVector & right,
common::ValueVector & result,
void * dataPtr )
inlinestatic

◆ select()

template<class LEFT_TYPE , class RIGHT_TYPE , class FUNC >
static bool kuzu::function::BinaryFunctionExecutor::select ( common::ValueVector & left,
common::ValueVector & right,
common::SelectionVector & selVector )
inlinestatic

◆ selectBothFlat()

template<class LEFT_TYPE , class RIGHT_TYPE , class FUNC , typename SELECT_WRAPPER >
static uint64_t kuzu::function::BinaryFunctionExecutor::selectBothFlat ( common::ValueVector & left,
common::ValueVector & right )
inlinestatic

◆ selectBothUnFlat()

template<class LEFT_TYPE , class RIGHT_TYPE , class FUNC , typename SELECT_WRAPPER >
static bool kuzu::function::BinaryFunctionExecutor::selectBothUnFlat ( common::ValueVector & left,
common::ValueVector & right,
common::SelectionVector & selVector )
inlinestatic

◆ selectComparison()

template<class LEFT_TYPE , class RIGHT_TYPE , class FUNC >
static bool kuzu::function::BinaryFunctionExecutor::selectComparison ( common::ValueVector & left,
common::ValueVector & right,
common::SelectionVector & selVector )
inlinestatic

◆ selectFlatUnFlat()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename FUNC , typename SELECT_WRAPPER >
static bool kuzu::function::BinaryFunctionExecutor::selectFlatUnFlat ( common::ValueVector & left,
common::ValueVector & right,
common::SelectionVector & selVector )
inlinestatic

◆ selectOnValue()

template<class LEFT_TYPE , class RIGHT_TYPE , class FUNC , typename SELECT_WRAPPER >
static void kuzu::function::BinaryFunctionExecutor::selectOnValue ( common::ValueVector & left,
common::ValueVector & right,
uint64_t lPos,
uint64_t rPos,
uint64_t resPos,
uint64_t & numSelectedValues,
std::span< common::sel_t > selectedPositionsBuffer )
inlinestatic

◆ selectUnFlatFlat()

template<typename LEFT_TYPE , typename RIGHT_TYPE , typename FUNC , typename SELECT_WRAPPER >
static bool kuzu::function::BinaryFunctionExecutor::selectUnFlatFlat ( common::ValueVector & left,
common::ValueVector & right,
common::SelectionVector & selVector )
inlinestatic

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