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::BoundForeignKeyConstraint Class Reference
Inheritance diagram for duckdb::BoundForeignKeyConstraint:
Collaboration diagram for duckdb::BoundForeignKeyConstraint:

Public Member Functions

 BoundForeignKeyConstraint (ForeignKeyInfo info_p, physical_index_set_t pk_key_set_p, physical_index_set_t fk_key_set_p)
unique_ptr< BoundConstraint > Copy () const override
Public Member Functions inherited from duckdb::BoundConstraint
 BoundConstraint (ConstraintType type)
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Public Attributes

ForeignKeyInfo info
physical_index_set_t pk_key_set
 The same keys but stored as an unordered set.
physical_index_set_t fk_key_set
 The same keys but stored as an unordered set.
Public Attributes inherited from duckdb::BoundConstraint
ConstraintType type

Static Public Attributes

static constexpr const ConstraintType TYPE = ConstraintType::FOREIGN_KEY

Constructor & Destructor Documentation

◆ BoundForeignKeyConstraint()

duckdb::BoundForeignKeyConstraint::BoundForeignKeyConstraint ( ForeignKeyInfo info_p,
physical_index_set_t pk_key_set_p,
physical_index_set_t fk_key_set_p )
inline
9798 : BoundConstraint(ConstraintType::FOREIGN_KEY), info(std::move(info_p)), pk_key_set(std::move(pk_key_set_p)),
9799 fk_key_set(std::move(fk_key_set_p)) {
9800#ifdef DEBUG
9801 D_ASSERT(info.pk_keys.size() == pk_key_set.size());
9802 for (auto &key : info.pk_keys) {
9803 D_ASSERT(pk_key_set.find(key) != pk_key_set.end());
9804 }
9805 D_ASSERT(info.fk_keys.size() == fk_key_set.size());
9806 for (auto &key : info.fk_keys) {
9807 D_ASSERT(fk_key_set.find(key) != fk_key_set.end());
9808 }
9809#endif
9810 }
physical_index_set_t pk_key_set
The same keys but stored as an unordered set.
Definition duckdb.cpp:9814
physical_index_set_t fk_key_set
The same keys but stored as an unordered set.
Definition duckdb.cpp:9816

Member Function Documentation

◆ Copy()

unique_ptr< BoundConstraint > duckdb::BoundForeignKeyConstraint::Copy ( ) const
inlineoverridevirtual

Implements duckdb::BoundConstraint.

9818 {
9819 return make_uniq<BoundForeignKeyConstraint>(info, pk_key_set, fk_key_set);
9820 }

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