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::SkaExtractKey< SORT_KEY > Struct Template Reference
Collaboration diagram for duckdb::SkaExtractKey< SORT_KEY >:

Public Types

using result_type = uint64_t

Public Member Functions

 SkaExtractKey (bool requires_next_sort_p, idx_t ska_sort_width_p, const vector< idx_t > &sort_skippable_bytes_p, atomic< bool > &interrupted_p)
const result_type & operator() (const SORT_KEY &key) const
bool ByteIsSkippable (const idx_t &offset) const
bool Interrupted () const

Public Attributes

bool requires_next_sort
idx_t ska_sort_width
const vector< idx_t > & sort_skippable_bytes
atomic< bool > & interrupted

Constructor & Destructor Documentation

◆ SkaExtractKey()

template<class SORT_KEY>
duckdb::SkaExtractKey< SORT_KEY >::SkaExtractKey ( bool requires_next_sort_p,
idx_t ska_sort_width_p,
const vector< idx_t > & sort_skippable_bytes_p,
atomic< bool > & interrupted_p )
inline
106780 : requires_next_sort(requires_next_sort_p), ska_sort_width(ska_sort_width_p),
106781 sort_skippable_bytes(sort_skippable_bytes_p), interrupted(interrupted_p) {
106782 }
Definition duckdb.cpp:106776

Member Function Documentation

◆ operator()()

template<class SORT_KEY>
const result_type & duckdb::SkaExtractKey< SORT_KEY >::operator() ( const SORT_KEY & key) const
inline
106784 {
106785 return key.part0; // FIXME: this should only be used if there is a part0
106786 }

◆ ByteIsSkippable()

template<class SORT_KEY>
bool duckdb::SkaExtractKey< SORT_KEY >::ByteIsSkippable ( const idx_t & offset) const
inline
106788 {
106789 return std::find(sort_skippable_bytes.begin(), sort_skippable_bytes.end(), offset) !=
106790 sort_skippable_bytes.end();
106791 }

◆ Interrupted()

template<class SORT_KEY>
bool duckdb::SkaExtractKey< SORT_KEY >::Interrupted ( ) const
inline
106793 {
106794 return interrupted.load(std::memory_order_relaxed);
106795 }

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