ML functions
 
Loading...
Searching...
No Matches
ml::VeloxTreeConstruction Class Reference

A vector function for constructing tree structures. More...

#include <VeloxDecisionTree.h>

Inheritance diagram for ml::VeloxTreeConstruction:

Public Member Functions

void apply (const SelectivityVector &rows, std::vector< VectorPtr > &args, const TypePtr &type, exec::EvalCtx &context, VectorPtr &output) const override
 Apply the function to construct trees.
 

Static Public Member Functions

static std::vector< std::shared_ptr< exec::FunctionSignature > > signatures ()
 Get the function signatures.
 
static std::string getName ()
 Get the name of the function.
 

Detailed Description

A vector function for constructing tree structures.

Member Function Documentation

◆ apply()

void ml::VeloxTreeConstruction::apply ( const SelectivityVector & rows,
std::vector< VectorPtr > & args,
const TypePtr & type,
exec::EvalCtx & context,
VectorPtr & output ) const
inlineoverride

Apply the function to construct trees.

Parameters
rowsThe selectivity vector indicating which rows to process.
argsThe input arguments to the function.
typeThe type of the output vector.
contextThe evaluation context.
outputThe output vector where the results will be stored.

◆ getName()

static std::string ml::VeloxTreeConstruction::getName ( )
inlinestatic

Get the name of the function.

Returns
A string representing the name of the function.

◆ signatures()

static std::vector< std::shared_ptr< exec::FunctionSignature > > ml::VeloxTreeConstruction::signatures ( )
inlinestatic

Get the function signatures.

Returns
A vector of shared pointers to function signatures.

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