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

Public Member Functions

template<>
string_t Operation (string_t input, Vector &result)
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::CastFromBlobToBit::Operation ( SRC input,
Vector & result )
inlinestatic
32130 {
32131 throw NotImplementedException("Cast from blob could not be performed!");
32132 }

◆ Operation() [2/2]

template<>
string_t duckdb::CastFromBlobToBit::Operation ( string_t input,
Vector & vector )
90033 {
90034 idx_t result_size = input.GetSize() + 1;
90035 if (result_size <= 1) {
90036 throw ConversionException("Cannot cast empty BLOB to BIT");
90037 }
90038 return StringVector::AddStringOrBlob(vector, Bit::BlobToBit(input));
90039}
static DUCKDB_API void BlobToBit(string_t blob, bitstring_t &output)
output needs to have enough space allocated before calling this function (blob size + 1)
Definition duckdb.cpp:112833
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
static DUCKDB_API string_t AddStringOrBlob(Vector &vector, const char *data, idx_t len)
Definition duckdb.cpp:137893

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