Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::ExecuteFunctionState Struct Reference
Inheritance diagram for duckdb::ExecuteFunctionState:
Collaboration diagram for duckdb::ExecuteFunctionState:

Public Member Functions

 ExecuteFunctionState (const Expression &expr, ExpressionExecutorState &root)
 
bool TryExecuteDictionaryExpression (const BoundFunctionExpression &expr, DataChunk &args, ExpressionState &state, Vector &result)
 
void ResetDictionaryStates () override
 Reset any cached dictionary expression states in this expression state and its children.
 
- Public Member Functions inherited from duckdb::ExpressionState
 ExpressionState (const Expression &expr, ExpressionExecutorState &root)
 
void AddChild (Expression &child_expr)
 
void Finalize ()
 
AllocatorGetAllocator ()
 
bool HasContext ()
 
DUCKDB_API ClientContextGetContext ()
 
void Verify (ExpressionExecutorState &root)
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Static Public Member Functions

static optional_ptr< FunctionLocalStateGetFunctionState (ExpressionState &state)
 

Public Attributes

unique_ptr< FunctionLocalStatelocal_state
 
- Public Attributes inherited from duckdb::ExpressionState
const Expressionexpr
 
ExpressionExecutorStateroot
 
vector< unique_ptr< ExpressionState > > child_states
 
vector< LogicalTypetypes
 
DataChunk intermediate_chunk
 
vector< bool > initialize
 

Private Attributes

optional_idx input_col_idx
 
buffer_ptr< VectorChildBufferoutput_dictionary
 Vector holding the expression executed on the entire dictionary.
 
string current_input_dictionary_id
 ID of the input dictionary Vector.
 

Member Function Documentation

◆ GetFunctionState()

static optional_ptr< FunctionLocalState > duckdb::ExecuteFunctionState::GetFunctionState ( ExpressionState state)
inlinestatic
14079 {
14080 return state.Cast<ExecuteFunctionState>().local_state.get();
14081 }

◆ ResetDictionaryStates()

void duckdb::ExecuteFunctionState::ResetDictionaryStates ( )
overridevirtual

Reset any cached dictionary expression states in this expression state and its children.

Reimplemented from duckdb::ExpressionState.

Member Data Documentation

◆ input_col_idx

optional_idx duckdb::ExecuteFunctionState::input_col_idx
private

The column index of the "unary" input column that may be a dictionary vector Only valid when the expression is eligible for the dictionary expression optimization This is the case when the input is "practically unary", i.e., only one non-const input column


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