![]() |
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.
|
A table catalog entry. More...


Public Member Functions | |
| DuckTableEntry (Catalog &catalog, SchemaCatalogEntry &schema, BoundCreateTableInfo &info, shared_ptr< DataTable > inherited_storage=nullptr) | |
| Create a TableCatalogEntry and initialize storage for it. | |
| unique_ptr< CatalogEntry > | AlterEntry (ClientContext &context, AlterInfo &info) override |
| unique_ptr< CatalogEntry > | AlterEntry (CatalogTransaction, AlterInfo &info) override |
| void | UndoAlter (ClientContext &context, AlterInfo &info) override |
| void | Rollback (CatalogEntry &prev_entry) override |
| void | OnDrop () override |
| DataTable & | GetStorage () override |
| Returns the underlying storage of the table. | |
| unique_ptr< BaseStatistics > | GetStatistics (ClientContext &context, const StorageIndex &storage_index) |
| Get statistics of a column (physical or virtual) within the table. | |
| unique_ptr< BaseStatistics > | GetStatistics (ClientContext &context, column_t column_id) override |
| Get statistics of a column (physical or virtual) within the table. | |
| unique_ptr< BlockingSample > | GetSample () override |
| unique_ptr< CatalogEntry > | Copy (ClientContext &context) const override |
| void | SetAsRoot () override |
| Sets the CatalogEntry as the new root entry (i.e. the newest entry). | |
| void | CommitAlter (string &column_name) |
| void | CommitDrop () |
| TableFunction | GetScanFunction (ClientContext &context, unique_ptr< FunctionData > &bind_data) override |
| Returns the scan function that can be used to scan the given table. | |
| vector< ColumnSegmentInfo > | GetColumnSegmentInfo (const QueryContext &context) override |
| Returns a list of segment information for this table, if exists. | |
| TableStorageInfo | GetStorageInfo (ClientContext &context) override |
| Returns the storage info of this table. | |
| bool | IsDuckTable () const override |
| Public Member Functions inherited from duckdb::TableCatalogEntry | |
| DUCKDB_API | TableCatalogEntry (Catalog &catalog, SchemaCatalogEntry &schema, CreateTableInfo &info) |
| Create a TableCatalogEntry and initialize storage for it. | |
| DUCKDB_API unique_ptr< CreateInfo > | GetInfo () const override |
| DUCKDB_API bool | HasGeneratedColumns () const |
| DUCKDB_API bool | ColumnExists (const string &name) const |
| Returns whether or not a column with the given name exists. | |
| DUCKDB_API const ColumnDefinition & | GetColumn (const string &name) const |
| DUCKDB_API const ColumnDefinition & | GetColumn (LogicalIndex idx) const |
| DUCKDB_API vector< LogicalType > | GetTypes () const |
| Returns a list of types of the table, excluding generated columns. | |
| DUCKDB_API const ColumnList & | GetColumns () const |
| Returns a list of the columns of the table. | |
| DUCKDB_API const vector< unique_ptr< Constraint > > & | GetConstraints () const |
| Returns a list of the constraints of the table. | |
| DUCKDB_API string | ToSQL () const override |
| Convert the catalog entry to a SQL string that can be used to re-construct the catalog entry. | |
| DUCKDB_API LogicalIndex | GetColumnIndex (string &name, bool if_exists=false) const |
| DUCKDB_API StorageIndex | GetStorageIndex (const ColumnIndex &column_index) const |
| virtual TableFunction | GetScanFunction (ClientContext &context, unique_ptr< FunctionData > &bind_data, const EntryLookupInfo &lookup_info) |
| virtual void | BindUpdateConstraints (Binder &binder, LogicalGet &get, LogicalProjection &proj, LogicalUpdate &update, ClientContext &context) |
| optional_ptr< Constraint > | GetPrimaryKey () const |
| Returns a pointer to the table's primary key, if exists, else nullptr. | |
| bool | HasPrimaryKey () const |
| Returns true, if the table has a primary key, else false. | |
| virtual virtual_column_map_t | GetVirtualColumns () const |
| Returns the virtual columns for this table. | |
| virtual vector< column_t > | GetRowIdColumns () const |
| Public Member Functions inherited from duckdb::StandardEntry | |
| StandardEntry (CatalogType type, SchemaCatalogEntry &schema, Catalog &catalog, string name) | |
| SchemaCatalogEntry & | ParentSchema () override |
| const SchemaCatalogEntry & | ParentSchema () const override |
| 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) | |
| 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 |
Private Attributes | |
| shared_ptr< DataTable > | storage |
| A reference to the underlying storage unit used for this table. | |
| ColumnDependencyManager | column_dependency_manager |
| Manages dependencies of the individual columns of the table. | |
Additional Inherited Members | |
| Static Public Member Functions inherited from duckdb::TableCatalogEntry | |
| static DUCKDB_API string | ColumnsToSQL (const ColumnList &columns, const vector< unique_ptr< Constraint > > &constraints) |
| static string | ColumnNamesToSQL (const ColumnList &columns) |
| Returns the expression string list of the column names e.g. (col1, col2, col3). | |
| Static Public Member Functions inherited from duckdb::CatalogEntry | |
| static unique_ptr< CreateInfo > | Deserialize (Deserializer &deserializer) |
| Public Attributes inherited from duckdb::StandardEntry | |
| SchemaCatalogEntry & | schema |
| The schema the entry belongs to. | |
| LogicalDependencyList | dependencies |
| The dependencies of the entry, can be empty. | |
| 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 | |
| Static Public Attributes inherited from duckdb::TableCatalogEntry | |
| static constexpr const CatalogType | Type = CatalogType::TABLE_ENTRY |
| static constexpr const char * | Name = "table" |
| Protected Attributes inherited from duckdb::TableCatalogEntry | |
| ColumnList | columns |
| A list of columns that are part of this table. | |
| vector< unique_ptr< Constraint > > | constraints |
| A list of constraints that are part of this table. | |
A table catalog entry.
| duckdb::DuckTableEntry::DuckTableEntry | ( | Catalog & | catalog, |
| SchemaCatalogEntry & | schema, | ||
| BoundCreateTableInfo & | info, | ||
| shared_ptr< DataTable > | inherited_storage = nullptr ) |
Create a TableCatalogEntry and initialize storage for it.

|
overridevirtual |
Reimplemented from duckdb::CatalogEntry.
|
overridevirtual |
Reimplemented from duckdb::CatalogEntry.
|
overridevirtual |
Reimplemented from duckdb::CatalogEntry.
|
overridevirtual |
Reimplemented from duckdb::CatalogEntry.
|
overridevirtual |
Reimplemented from duckdb::CatalogEntry.
|
overridevirtual |
Returns the underlying storage of the table.
Reimplemented from duckdb::TableCatalogEntry.

| unique_ptr< BaseStatistics > duckdb::DuckTableEntry::GetStatistics | ( | ClientContext & | context, |
| const StorageIndex & | storage_index ) |
Get statistics of a column (physical or virtual) within the table.
|
overridevirtual |
Get statistics of a column (physical or virtual) within the table.
Implements duckdb::TableCatalogEntry.
|
overridevirtual |
Reimplemented from duckdb::TableCatalogEntry.
|
overridevirtual |
Reimplemented from duckdb::CatalogEntry.
|
overridevirtual |
Sets the CatalogEntry as the new root entry (i.e. the newest entry).
Reimplemented from duckdb::CatalogEntry.
| void duckdb::DuckTableEntry::CommitAlter | ( | string & | column_name | ) |
| void duckdb::DuckTableEntry::CommitDrop | ( | ) |
|
overridevirtual |
Returns the scan function that can be used to scan the given table.
Implements duckdb::TableCatalogEntry.
|
overridevirtual |
Returns a list of segment information for this table, if exists.
Reimplemented from duckdb::TableCatalogEntry.

|
overridevirtual |
Returns the storage info of this table.
Implements duckdb::TableCatalogEntry.
|
inlineoverridevirtual |
Reimplemented from duckdb::TableCatalogEntry.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |