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::TypeExpression Class Reference
Inheritance diagram for duckdb::TypeExpression:
Collaboration diagram for duckdb::TypeExpression:

Public Member Functions

 TypeExpression (string catalog, string schema, string type_name, vector< unique_ptr< ParsedExpression > > children)
 
 TypeExpression (string type_name, vector< unique_ptr< ParsedExpression > > children)
 
const string & GetTypeName () const
 
const string & GetSchema () const
 
const string & GetCatalog () const
 
const vector< unique_ptr< ParsedExpression > > & GetChildren () const
 
vector< unique_ptr< ParsedExpression > > & GetChildren ()
 
string ToString () const override
 Convert the Expression to a String.
 
unique_ptr< ParsedExpressionCopy () const override
 Create a copy of this expression.
 
hash_t Hash () const override
 
void Serialize (Serializer &serializer) const override
 
void Verify () const override
 
- Public Member Functions inherited from duckdb::ParsedExpression
 ParsedExpression (ExpressionType type, ExpressionClass expression_class)
 Create an Expression.
 
bool IsAggregate () const override
 Returns true if this expression is an aggregate or not.
 
bool IsWindow () const override
 Returns true if the expression has a window function or not.
 
bool HasSubquery () const override
 Returns true if the query contains a subquery.
 
bool IsScalar () const override
 Returns true if expression does not contain a group ref or col ref or parameter.
 
bool HasParameter () const override
 Returns true if the expression has a parameter.
 
bool Equals (const BaseExpression &other) const override
 Returns true if this expression is equal to another expression.
 
- Public Member Functions inherited from duckdb::BaseExpression
 BaseExpression (ExpressionType type, ExpressionClass expression_class)
 Create an Expression.
 
ExpressionClass GetExpressionClass () const
 Returns the class of the expression.
 
ExpressionType GetExpressionType () const
 Returns the type of the expression.
 
void SetExpressionTypeUnsafe (ExpressionType new_type)
 
optional_idx GetQueryLocation () const
 Returns the location in the query (if any)
 
void SetQueryLocation (optional_idx location)
 Sets the location in the query.
 
bool HasAlias () const
 Returns true if the expression has a non-empty alias.
 
const string & GetAlias () const
 Returns the alias of the expression.
 
void SetAlias (const string &alias_p)
 Sets the alias of the expression.
 
void SetAlias (string &&alias_p)
 Sets the alias of the expression.
 
void ClearAlias ()
 Clears the alias of the expression.
 
virtual string GetName () const
 Get the name of the expression.
 
void Print () const
 Print the expression to stdout.
 
bool operator== (const BaseExpression &rhs) const
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Static Public Member Functions

static bool Equal (const TypeExpression &a, const TypeExpression &b)
 
static unique_ptr< ParsedExpressionDeserialize (Deserializer &deserializer)
 
- Static Public Member Functions inherited from duckdb::ParsedExpression
static unique_ptr< ParsedExpressionDeserialize (Deserializer &deserializer)
 
static bool Equals (const unique_ptr< ParsedExpression > &left, const unique_ptr< ParsedExpression > &right)
 
static bool ListEquals (const vector< unique_ptr< ParsedExpression > > &left, const vector< unique_ptr< ParsedExpression > > &right)
 
- Static Public Member Functions inherited from duckdb::BaseExpression
static bool Equals (const BaseExpression &left, const BaseExpression &right)
 

Static Public Attributes

static constexpr const ExpressionClass TYPE = ExpressionClass::TYPE
 

Private Attributes

string catalog
 Qualified name parts.
 
string schema
 
string type_name
 
vector< unique_ptr< ParsedExpression > > children
 Children of the type expression (e.g. type parameters)
 

Additional Inherited Members

- Public Attributes inherited from duckdb::BaseExpression
ExpressionType type
 Type of the expression.
 
ExpressionClass expression_class
 The expression class of the node.
 
string alias
 The alias of the expression,.
 
optional_idx query_location
 The location in the query (if any)
 
- Protected Member Functions inherited from duckdb::ParsedExpression
void CopyProperties (const ParsedExpression &other)
 

Member Function Documentation

◆ GetTypeName()

const string & duckdb::TypeExpression::GetTypeName ( ) const
inline
856 {
857 return type_name;
858 }

◆ GetSchema()

const string & duckdb::TypeExpression::GetSchema ( ) const
inline
859 {
860 return schema;
861 }

◆ GetCatalog()

const string & duckdb::TypeExpression::GetCatalog ( ) const
inline
862 {
863 return catalog;
864 }
string catalog
Qualified name parts.
Definition duckdb.cpp:889

◆ GetChildren() [1/2]

const vector< unique_ptr< ParsedExpression > > & duckdb::TypeExpression::GetChildren ( ) const
inline
865 {
866 return children;
867 }
vector< unique_ptr< ParsedExpression > > children
Children of the type expression (e.g. type parameters)
Definition duckdb.cpp:894

◆ GetChildren() [2/2]

vector< unique_ptr< ParsedExpression > > & duckdb::TypeExpression::GetChildren ( )
inline
868 {
869 return children;
870 }

◆ ToString()

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

Convert the Expression to a String.

Implements duckdb::BaseExpression.

◆ Copy()

unique_ptr< ParsedExpression > duckdb::TypeExpression::Copy ( ) const
overridevirtual

Create a copy of this expression.

Implements duckdb::ParsedExpression.

◆ Hash()

hash_t duckdb::TypeExpression::Hash ( ) const
overridevirtual

Creates a hash value of this expression. It is important that if two expressions are identical (i.e. Expression::Equals() returns true), that their hash value is identical as well.

Reimplemented from duckdb::ParsedExpression.

◆ Serialize()

void duckdb::TypeExpression::Serialize ( Serializer serializer) const
overridevirtual

Reimplemented from duckdb::ParsedExpression.

◆ Verify()

void duckdb::TypeExpression::Verify ( ) const
overridevirtual

Reimplemented from duckdb::BaseExpression.


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