![]() |
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 | |
| 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. | |
| virtual DataTable & | GetStorage () |
| Returns the underlying storage 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. | |
| virtual unique_ptr< BaseStatistics > | GetStatistics (ClientContext &context, column_t column_id)=0 |
| Get statistics of a column (physical or virtual) within the table. | |
| virtual unique_ptr< BlockingSample > | GetSample () |
| 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)=0 |
| Returns the scan function that can be used to scan the given table. | |
| virtual TableFunction | GetScanFunction (ClientContext &context, unique_ptr< FunctionData > &bind_data, const EntryLookupInfo &lookup_info) |
| virtual bool | IsDuckTable () const |
| virtual vector< ColumnSegmentInfo > | GetColumnSegmentInfo (const QueryContext &context) |
| Returns a list of segment information for this table, if exists. | |
| virtual TableStorageInfo | GetStorageInfo (ClientContext &context)=0 |
| Returns the storage info of this table. | |
| 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) | |
| 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 void | SetAsRoot () |
| Sets the CatalogEntry as the new root entry (i.e. the newest entry). | |
| 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 |
Static Public Member Functions | |
| 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) |
Static Public Attributes | |
| static constexpr const CatalogType | Type = CatalogType::TABLE_ENTRY |
| static constexpr const char * | Name = "table" |
Protected Attributes | |
| 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. | |
Additional Inherited Members | |
| 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 | |
A table catalog entry.
| duckdb::TableCatalogEntry::TableCatalogEntry | ( | Catalog & | catalog, |
| SchemaCatalogEntry & | schema, | ||
| CreateTableInfo & | info ) |
Create a TableCatalogEntry and initialize storage for it.

|
overridevirtual |
Reimplemented from duckdb::CatalogEntry.
| bool duckdb::TableCatalogEntry::HasGeneratedColumns | ( | ) | const |
| bool duckdb::TableCatalogEntry::ColumnExists | ( | const string & | name | ) | const |
| const ColumnDefinition & duckdb::TableCatalogEntry::GetColumn | ( | const string & | name | ) | const |
| const ColumnDefinition & duckdb::TableCatalogEntry::GetColumn | ( | LogicalIndex | idx | ) | const |
Returns a reference to the column of the specified logical index. Throws an exception if the column does not exist.
| vector< LogicalType > duckdb::TableCatalogEntry::GetTypes | ( | ) | const |
Returns a list of types of the table, excluding generated columns.

| const ColumnList & duckdb::TableCatalogEntry::GetColumns | ( | ) | const |
Returns a list of the columns of the table.

|
virtual |
Returns the underlying storage of the table.
Reimplemented in duckdb::DuckTableEntry.

| const vector< unique_ptr< Constraint > > & duckdb::TableCatalogEntry::GetConstraints | ( | ) | const |
Returns a list of the constraints of the table.

|
overridevirtual |
Convert the catalog entry to a SQL string that can be used to re-construct the catalog entry.
Reimplemented from duckdb::CatalogEntry.
|
pure virtual |
Get statistics of a column (physical or virtual) within the table.
Implemented in duckdb::DuckTableEntry.
|
virtual |
| LogicalIndex duckdb::TableCatalogEntry::GetColumnIndex | ( | string & | name, |
| bool | if_exists = false ) const |
Returns the column index of the specified column name. If the column does not exist: If if_column_exists is true, returns DConstants::INVALID_INDEX If if_column_exists is false, throws an exception

| StorageIndex duckdb::TableCatalogEntry::GetStorageIndex | ( | const ColumnIndex & | column_index | ) | const |
|
pure virtual |
Returns the scan function that can be used to scan the given table.
Implemented in duckdb::DuckTableEntry.
|
virtual |
|
inlinevirtual |
|
static |
|
static |
Returns the expression string list of the column names e.g. (col1, col2, col3).

|
virtual |
Returns a list of segment information for this table, if exists.
Reimplemented in duckdb::DuckTableEntry.
|
pure virtual |
Returns the storage info of this table.
Implemented in duckdb::DuckTableEntry.
|
virtual |
| optional_ptr< Constraint > duckdb::TableCatalogEntry::GetPrimaryKey | ( | ) | const |
Returns a pointer to the table's primary key, if exists, else nullptr.


| bool duckdb::TableCatalogEntry::HasPrimaryKey | ( | ) | const |
Returns true, if the table has a primary key, else false.

|
virtual |
Returns the virtual columns for this table.
