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::CollateCatalogEntry Class Reference

A collation catalog entry. More...

Inheritance diagram for duckdb::CollateCatalogEntry:
Collaboration diagram for duckdb::CollateCatalogEntry:

Public Member Functions

 CollateCatalogEntry (Catalog &catalog, SchemaCatalogEntry &schema, CreateCollationInfo &info)
 
- Public Member Functions inherited from duckdb::StandardEntry
 StandardEntry (CatalogType type, SchemaCatalogEntry &schema, Catalog &catalog, string name)
 
SchemaCatalogEntryParentSchema () override
 
const SchemaCatalogEntryParentSchema () const override
 
- Public Member Functions inherited from duckdb::InCatalogEntry
 InCatalogEntry (CatalogType type, Catalog &catalog, string name)
 
CatalogParentCatalog () override
 
const CatalogParentCatalog () 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< CatalogEntryAlterEntry (ClientContext &context, AlterInfo &info)
 
virtual unique_ptr< CatalogEntryAlterEntry (CatalogTransaction transaction, AlterInfo &info)
 
virtual void UndoAlter (ClientContext &context, AlterInfo &info)
 
virtual void Rollback (CatalogEntry &prev_entry)
 
virtual void OnDrop ()
 
virtual unique_ptr< CatalogEntryCopy (ClientContext &context) const
 
virtual unique_ptr< CreateInfoGetInfo () 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.
 
void Serialize (Serializer &serializer) const
 
void SetChild (unique_ptr< CatalogEntry > child)
 
unique_ptr< CatalogEntryTakeChild ()
 
bool HasChild () const
 
bool HasParent () const
 
CatalogEntryChild ()
 
CatalogEntryParent ()
 
const CatalogEntryParent () const
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Public Attributes

ScalarFunction function
 The collation function to push in case collation is required.
 
bool combinable
 Whether or not the collation can be combined with other collations.
 
bool not_required_for_equality
 
- Public Attributes inherited from duckdb::StandardEntry
SchemaCatalogEntryschema
 The schema the entry belongs to.
 
LogicalDependencyList dependencies
 The dependencies of the entry, can be empty.
 
- Public Attributes inherited from duckdb::InCatalogEntry
Catalogcatalog
 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< CatalogSetset
 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_ttimestamp
 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

static constexpr const CatalogType Type = CatalogType::COLLATION_ENTRY
 
static constexpr const charName = "collation"
 

Additional Inherited Members

- Static Public Member Functions inherited from duckdb::CatalogEntry
static unique_ptr< CreateInfoDeserialize (Deserializer &deserializer)
 

Detailed Description

A collation catalog entry.

Constructor & Destructor Documentation

◆ CollateCatalogEntry()

duckdb::CollateCatalogEntry::CollateCatalogEntry ( Catalog catalog,
SchemaCatalogEntry schema,
CreateCollationInfo info 
)
inline
213 : StandardEntry(CatalogType::COLLATION_ENTRY, schema, catalog, info.name), function(info.function),
214 combinable(info.combinable), not_required_for_equality(info.not_required_for_equality) {
215 }
ScalarFunction function
The collation function to push in case collation is required.
Definition duckdb.cpp:218
bool not_required_for_equality
Definition duckdb.cpp:224
bool combinable
Whether or not the collation can be combined with other collations.
Definition duckdb.cpp:220
Catalog & catalog
The catalog the entry belongs to.
Definition duckdb.hpp:6387
SchemaCatalogEntry & schema
The schema the entry belongs to.
Definition duckdb.hpp:28008

Member Data Documentation

◆ not_required_for_equality

bool duckdb::CollateCatalogEntry::not_required_for_equality

Whether or not the collation is required for equality comparisons or not. For many collations a binary comparison for equality comparisons is correct, allowing us to skip the collation in these cases which greatly speeds up processing.


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