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::CastFromUUIDToBlob Struct Reference

Public Member Functions

template<>
duckdb::string_t Operation (duckdb::hugeint_t input, Vector &vector)
template<>
string_t Operation (hugeint_t input, Vector &vector)

Static Public Member Functions

template<class SRC>
static string_t Operation (SRC input, Vector &result)

Member Function Documentation

◆ Operation() [1/2]

template<class SRC>
string_t duckdb::CastFromUUIDToBlob::Operation ( SRC input,
Vector & result )
inlinestatic
32223 {
32224 throw duckdb::NotImplementedException("Cast from uuid to blob could not be performed!");
32225 }

◆ Operation() [2/2]

template<>
string_t duckdb::CastFromUUIDToBlob::Operation ( hugeint_t input,
Vector & vector )
90160 {
90161 // UUID is 16 bytes (128 bits)
90162 string_t result = StringVector::EmptyString(vector, 16);
90163 auto data = result.GetDataWriteable();
90164
90165 // Use the utility function from BaseUUID
90166 BaseUUID::ToBlob(input, data_ptr_cast(data));
90167
90168 result.Finalize();
90169 return result;
90170}
static void ToBlob(hugeint_t input, data_ptr_t output)
Convert UUID (hugeint_t) to 16-byte binary data.
Definition duckdb.cpp:131111
static DUCKDB_API string_t EmptyString(Vector &vector, idx_t len)
Definition duckdb.cpp:137942

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