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::DependencyEntry Class Referenceabstract
Inheritance diagram for duckdb::DependencyEntry:
Collaboration diagram for duckdb::DependencyEntry:

Public Member Functions

const MangledEntryName & SubjectMangledName () const
 
const DependencySubject & Subject () const
 
const MangledEntryName & DependentMangledName () const
 
const DependencyDependent & Dependent () const
 
virtual const CatalogEntryInfo & EntryInfo () const =0
 
virtual const MangledEntryName & EntryMangledName () const =0
 
virtual const CatalogEntryInfo & SourceInfo () const =0
 
virtual const MangledEntryName & SourceMangledName () const =0
 
DependencyEntryType Side () const
 
- Public Member Functions inherited from duckdb::InCatalogEntry
 InCatalogEntry (CatalogType type, Catalog &catalog, string name)
 
Catalog & ParentCatalog () override
 
const Catalog & ParentCatalog () const override
 
void Verify (Catalog &catalog) override
 
- Public Member Functions inherited from duckdb::CatalogEntry
 CatalogEntry (CatalogType type, Catalog &catalog, string name)
 
 CatalogEntry (CatalogType type, string name, idx_t oid)
 
virtual unique_ptr< CatalogEntry > AlterEntry (ClientContext &context, AlterInfo &info)
 
virtual unique_ptr< CatalogEntry > AlterEntry (CatalogTransaction transaction, AlterInfo &info)
 
virtual void UndoAlter (ClientContext &context, AlterInfo &info)
 
virtual void Rollback (CatalogEntry &prev_entry)
 
virtual void OnDrop ()
 
virtual unique_ptr< CatalogEntry > Copy (ClientContext &context) const
 
virtual unique_ptr< CreateInfo > GetInfo () const
 
virtual void SetAsRoot ()
 Sets the CatalogEntry as the new root entry (i.e. the newest entry)
 
virtual string ToSQL () const
 Convert the catalog entry to a SQL string that can be used to re-construct the catalog entry.
 
virtual SchemaCatalogEntry & ParentSchema ()
 
virtual const SchemaCatalogEntry & ParentSchema () const
 
void Serialize (Serializer &serializer) const
 
void SetChild (unique_ptr< CatalogEntry > child)
 
unique_ptr< CatalogEntry > TakeChild ()
 
bool HasChild () const
 
bool HasParent () const
 
CatalogEntry & Child ()
 
CatalogEntry & Parent ()
 
const CatalogEntry & Parent () const
 
template<class TARGET >
TARGET & Cast ()
 
template<class TARGET >
const TARGET & Cast () const
 

Protected Member Functions

 DependencyEntry (Catalog &catalog, DependencyEntryType type, const MangledDependencyName &name, const DependencyInfo &info)
 

Protected Attributes

const MangledEntryName dependent_name
 
const MangledEntryName subject_name
 
const DependencyDependent dependent
 
const DependencySubject subject
 

Private Attributes

DependencyEntryType side
 

Additional Inherited Members

- Static Public Member Functions inherited from duckdb::CatalogEntry
static unique_ptr< CreateInfo > Deserialize (Deserializer &deserializer)
 
- Public Attributes inherited from duckdb::InCatalogEntry
Catalog & catalog
 The catalog the entry belongs to.
 
- Public Attributes inherited from duckdb::CatalogEntry
idx_t oid
 The oid of the entry.
 
CatalogType type
 The type of this catalog entry.
 
optional_ptr< CatalogSet > set
 Reference to the catalog set this entry is stored in.
 
string name
 The name of the entry.
 
bool deleted
 Whether or not the object is deleted.
 
bool temporary
 Whether or not the object is temporary and should not be added to the WAL.
 
bool internal
 Whether or not the entry is an internal entry (cannot be deleted, not dumped, etc)
 
atomic< transaction_t > timestamp
 Timestamp at which the catalog entry was created.
 
Value comment
 (optional) comment on this entry
 
InsertionOrderPreservingMap< string > tags
 (optional) extra data associated with this entry
 

Constructor & Destructor Documentation

◆ ~DependencyEntry()

duckdb::DependencyEntry::~DependencyEntry ( )
override
9012 {
9013}

◆ DependencyEntry()

duckdb::DependencyEntry::DependencyEntry ( Catalog &  catalog,
DependencyEntryType  type,
const MangledDependencyName &  name,
const DependencyInfo &  info 
)
protected
8985 : InCatalogEntry(CatalogType::DEPENDENCY_ENTRY, catalog, name.name),
8986 dependent_name(DependencyManager::MangleName(info.dependent.entry)),
8987 subject_name(DependencyManager::MangleName(info.subject.entry)), dependent(info.dependent), subject(info.subject),
8988 side(side) {
8989 D_ASSERT(info.dependent.entry.type != CatalogType::DEPENDENCY_ENTRY);
8990 D_ASSERT(info.subject.entry.type != CatalogType::DEPENDENCY_ENTRY);
8991 if (catalog.IsTemporaryCatalog()) {
8992 temporary = true;
8993 }
8994}
string name
The name of the entry.
Definition duckdb.hpp:6311
bool temporary
Whether or not the object is temporary and should not be added to the WAL.
Definition duckdb.hpp:6315
Catalog & catalog
The catalog the entry belongs to.
Definition duckdb.hpp:6387

Member Function Documentation

◆ SubjectMangledName()

const MangledEntryName & duckdb::DependencyEntry::SubjectMangledName ( ) const
8996 {
8997 return subject_name;
8998}

◆ Subject()

const DependencySubject & duckdb::DependencyEntry::Subject ( ) const
9000 {
9001 return subject;
9002}

◆ DependentMangledName()

const MangledEntryName & duckdb::DependencyEntry::DependentMangledName ( ) const
9004 {
9005 return dependent_name;
9006}

◆ Dependent()

const DependencyDependent & duckdb::DependencyEntry::Dependent ( ) const
9008 {
9009 return dependent;
9010}

◆ Side()

DependencyEntryType duckdb::DependencyEntry::Side ( ) const
9015 {
9016 return side;
9017}

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