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

Static Public Member Functions

static DUCKDB_API LogicalType GetType (const Value &value)

Member Function Documentation

◆ GetType()

LogicalType duckdb::TypeValue::GetType ( const Value & value)
static
133502 {
133503 if (value.is_null) {
133504 throw InternalException("Calling TypeValue::GetType on a NULL value");
133505 }
133506 D_ASSERT(value.type().id() == LogicalTypeId::TYPE);
133507 D_ASSERT(value.value_info_);
133508 auto &type_str = value.value_info_->Get<StringValueInfo>().GetString();
133509 auto str = string_t(type_str);
133510 MemoryStream stream(data_ptr_cast(str.GetDataWriteable()), str.GetSize());
133511 BinaryDeserializer deserializer(stream);
133512 return LogicalType::Deserialize(deserializer);
133513}
bool is_null
Whether or not the value is NULL.
Definition duckdb.hpp:5937

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