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::BoundParameterData Struct Reference
Collaboration diagram for duckdb::BoundParameterData:

Public Member Functions

 BoundParameterData (Value val)
 
 BoundParameterData (Value val, LogicalType type_p)
 
void SetValue (Value val)
 
const ValueGetValue () const
 
void Serialize (Serializer &serializer) const
 

Static Public Member Functions

static shared_ptr< BoundParameterDataDeserialize (Deserializer &deserializer)
 

Public Attributes

LogicalType return_type
 

Private Member Functions

LogicalType GetDefaultType (const LogicalType &type)
 

Private Attributes

Value value
 

Constructor & Destructor Documentation

◆ BoundParameterData() [1/3]

duckdb::BoundParameterData::BoundParameterData ( )
inline
27232 {
27233 }

◆ BoundParameterData() [2/3]

duckdb::BoundParameterData::BoundParameterData ( Value  val)
inlineexplicit
27234 : value(std::move(val)), return_type(GetDefaultType(value.type())) {
27235 }

◆ BoundParameterData() [3/3]

duckdb::BoundParameterData::BoundParameterData ( Value  val,
LogicalType  type_p 
)
inline
27236 : value(std::move(val)), return_type(std::move(type_p)) {
27237 }

Member Function Documentation

◆ SetValue()

void duckdb::BoundParameterData::SetValue ( Value  val)
inline
27246 {
27247 value = std::move(val);
27248 }

◆ GetValue()

const Value & duckdb::BoundParameterData::GetValue ( ) const
inline
27250 {
27251 return value;
27252 }

◆ GetDefaultType()

LogicalType duckdb::BoundParameterData::GetDefaultType ( const LogicalType type)
inlineprivate
27258 {
27259 if (value.type().id() == LogicalTypeId::VARCHAR && StringType::GetCollation(type).empty()) {
27260 return LogicalTypeId::STRING_LITERAL;
27261 }
27262 return value.type();
27263 }

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