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

Public Member Functions

template<>
duckdb::string_t Operation (duckdb::string_t input, Vector &vector)
template<>
string_t Operation (string_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::CastFromBlob::Operation ( SRC input,
Vector & result )
inlinestatic
32121 {
32122 throw duckdb::NotImplementedException("Cast from blob could not be performed!");
32123 }

◆ Operation() [2/2]

template<>
string_t duckdb::CastFromBlob::Operation ( string_t input,
Vector & vector )
90022 {
90023 idx_t result_size = Blob::GetStringSize(input);
90024
90025 string_t result = StringVector::EmptyString(vector, result_size);
90026 Blob::ToString(input, result.GetDataWriteable());
90027 result.Finalize();
90028
90029 return result;
90030}
static DUCKDB_API idx_t GetStringSize(string_t blob)
Returns the string size of a blob -> string conversion.
Definition duckdb.cpp:113136
static DUCKDB_API void ToString(string_t blob, char *output)
Converts a blob to a string, writing the output to the designated output string. The string needs to ...
Definition duckdb.cpp:113152
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
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: