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::CreateMacroInfo Struct Reference
Inheritance diagram for duckdb::CreateMacroInfo:
Collaboration diagram for duckdb::CreateMacroInfo:

Public Member Functions

 CreateMacroInfo (CatalogType type)
 
unique_ptr< CreateInfoCopy () const override
 
string ToString () const override
 
DUCKDB_API void Serialize (Serializer &serializer) const override
 
vector< unique_ptr< MacroFunction > > GetAllButFirstFunction () const
 
 CreateMacroInfo (CatalogType type, unique_ptr< MacroFunction > function, vector< unique_ptr< MacroFunction > > extra_functions)
 This is a weird constructor that exists only for serialization, similarly to GetAllButFirstFunction.
 
- Public Member Functions inherited from duckdb::CreateFunctionInfo
 CreateFunctionInfo (CatalogType type, string schema=DEFAULT_SCHEMA)
 
DUCKDB_API void CopyFunctionProperties (CreateFunctionInfo &other) const
 
- Public Member Functions inherited from duckdb::CreateInfo
 CreateInfo (CatalogType type, string schema=DEFAULT_SCHEMA, string catalog_p=INVALID_CATALOG)
 
DUCKDB_API void CopyProperties (CreateInfo &other) const
 
virtual DUCKDB_API unique_ptr< AlterInfoGetAlterInfo () const
 Generates an alter statement from the create statement - used for OnCreateConflict::ALTER_ON_CONFLICT.
 
DUCKDB_API string GetCreatePrefix (const string &entry) const
 Returns a string like "CREATE (OR REPLACE) (TEMPORARY) <entry> (IF NOT EXISTS) " for TABLE/VIEW/TYPE/MACRO.
 
- Public Member Functions inherited from duckdb::ParseInfo
 ParseInfo (ParseInfoType info_type)
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Static Public Member Functions

static DUCKDB_API unique_ptr< CreateInfoDeserialize (Deserializer &deserializer)
 
- Static Public Member Functions inherited from duckdb::CreateInfo
static unique_ptr< CreateInfoDeserialize (Deserializer &deserializer)
 
- Static Public Member Functions inherited from duckdb::ParseInfo
static unique_ptr< ParseInfoDeserialize (Deserializer &deserializer)
 
static string QualifierToString (const string &catalog, const string &schema, const string &name)
 
static string TypeToString (CatalogType type)
 

Public Attributes

vector< unique_ptr< MacroFunction > > macros
 
- Public Attributes inherited from duckdb::CreateFunctionInfo
string name
 Function name.
 
string alias_of
 The function name of which this function is an alias.
 
vector< FunctionDescriptiondescriptions
 Function description.
 
- Public Attributes inherited from duckdb::CreateInfo
CatalogType type
 The to-be-created catalog type.
 
string catalog
 The catalog name of the entry.
 
string schema
 The schema name of the entry.
 
OnCreateConflict on_conflict
 What to do on create conflict.
 
bool temporary
 Whether or not the entry is temporary.
 
bool internal
 Whether or not the entry is an internal entry.
 
string sql
 The SQL string of the CREATE statement.
 
LogicalDependencyList dependencies
 The inherent dependencies of the created entry.
 
Value comment
 User provided comment.
 
InsertionOrderPreservingMap< string > tags
 Key-value tags with additional metadata.
 
- Public Attributes inherited from duckdb::ParseInfo
ParseInfoType info_type
 

Additional Inherited Members

- Static Public Attributes inherited from duckdb::CreateInfo
static constexpr const ParseInfoType TYPE = ParseInfoType::CREATE_INFO
 

Member Function Documentation

◆ Copy()

unique_ptr< CreateInfo > duckdb::CreateMacroInfo::Copy ( ) const
overridevirtual

Implements duckdb::CreateInfo.

◆ ToString()

string duckdb::CreateMacroInfo::ToString ( ) const
overridevirtual

Reimplemented from duckdb::CreateInfo.

◆ Serialize()

DUCKDB_API void duckdb::CreateMacroInfo::Serialize ( Serializer serializer) const
overridevirtual

Reimplemented from duckdb::CreateInfo.

◆ GetAllButFirstFunction()

vector< unique_ptr< MacroFunction > > duckdb::CreateMacroInfo::GetAllButFirstFunction ( ) const

This is a weird function that exists only for backwards compatibility of serialization Essentially we used to only support a single function in the CreateMacroInfo In order to not break backwards/forwards compatibility, we serialize the first function in the old manner Extra functions are serialized if present in a separate field


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