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::MinMaxFixedValueOrNull< T, NULLS_LAST > Struct Template Reference

Public Types

using TYPE = ValueOrNull<T, NULLS_LAST>
using EXTRA_STATE = bool

Static Public Member Functions

static TYPE Create (const UnifiedVectorFormat &format, const idx_t idx)
static void Assign (Vector &vector, const idx_t idx, const TYPE &value, const bool nulls_last)
static EXTRA_STATE CreateExtraState (Vector &input, idx_t count)
static void PrepareData (Vector &input, const idx_t count, EXTRA_STATE &extra_state, UnifiedVectorFormat &format, const bool nulls_last)

Member Function Documentation

◆ Create()

template<class T, bool NULLS_LAST>
TYPE duckdb::MinMaxFixedValueOrNull< T, NULLS_LAST >::Create ( const UnifiedVectorFormat & format,
const idx_t idx )
inlinestatic
210164 {
210165 return TYPE {UnifiedVectorFormat::GetData<T>(format)[idx], format.validity.RowIsValid(idx)};
210166 }
Definition duckdb.cpp:210160

◆ Assign()

template<class T, bool NULLS_LAST>
void duckdb::MinMaxFixedValueOrNull< T, NULLS_LAST >::Assign ( Vector & vector,
const idx_t idx,
const TYPE & value,
const bool nulls_last )
inlinestatic
210168 {
210169 FlatVector::Validity(vector).Set(idx, value.is_valid);
210171 }

◆ CreateExtraState()

template<class T, bool NULLS_LAST>
EXTRA_STATE duckdb::MinMaxFixedValueOrNull< T, NULLS_LAST >::CreateExtraState ( Vector & input,
idx_t count )
inlinestatic
210173 {
210174 return false;
210175 }

◆ PrepareData()

template<class T, bool NULLS_LAST>
void duckdb::MinMaxFixedValueOrNull< T, NULLS_LAST >::PrepareData ( Vector & input,
const idx_t count,
EXTRA_STATE & extra_state,
UnifiedVectorFormat & format,
const bool nulls_last )
inlinestatic
210178 {
210179 input.ToUnifiedFormat(count, format);
210180 }

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