mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Data Fields | Static Private Attributes | Friends
m::Schema::Identifier Struct Reference

An Identifier is composed of a name and an optional prefix. More...

#include <Schema.hpp>

Collaboration diagram for m::Schema::Identifier:
[legend]

Public Member Functions

 Identifier (ThreadSafePooledString name)
 
 Identifier (ThreadSafePooledOptionalString prefix, ThreadSafePooledString name)
 
 Identifier (const ast::Expr &)
 
bool is_constant () const
 
bool operator== (const Identifier &other) const
 
bool operator!= (const Identifier &other) const
 

Static Public Member Functions

static Identifier GetConstant ()
 

Data Fields

ThreadSafePooledOptionalString prefix
 optional prefix of this Identifier, may not have a value
 
ThreadSafePooledString name
 the name of this Identifier
 

Static Private Attributes

static Identifier CONST_ID_
 

Friends

M_LCOV_EXCL_START friend std::ostream & operator<< (std::ostream &out, const Identifier &id)
 

Detailed Description

An Identifier is composed of a name and an optional prefix.

Definition at line 41 of file Schema.hpp.

Constructor & Destructor Documentation

◆ Identifier() [1/3]

m::Schema::Identifier::Identifier ( ThreadSafePooledString  name)
inline

Definition at line 50 of file Schema.hpp.

◆ Identifier() [2/3]

m::Schema::Identifier::Identifier ( ThreadSafePooledOptionalString  prefix,
ThreadSafePooledString  name 
)
inline

Definition at line 51 of file Schema.hpp.

References and().

◆ Identifier() [3/3]

Schema::Identifier::Identifier ( const ast::Expr expr)
explicit

Member Function Documentation

◆ GetConstant()

Schema::Identifier Schema::Identifier::GetConstant ( )
static

Definition at line 28 of file Schema.cpp.

References m::Catalog::Get().

Referenced by m::ProjectionOperator::ProjectionOperator().

◆ is_constant()

bool m::Schema::Identifier::is_constant ( ) const
inline

Definition at line 60 of file Schema.hpp.

◆ operator!=()

bool m::Schema::Identifier::operator!= ( const Identifier other) const
inline

Definition at line 65 of file Schema.hpp.

◆ operator==()

bool m::Schema::Identifier::operator== ( const Identifier other) const
inline

Definition at line 62 of file Schema.hpp.

References and(), name, and prefix.

Friends And Related Function Documentation

◆ operator<<

M_LCOV_EXCL_START friend std::ostream & operator<< ( std::ostream &  out,
const Identifier id 
)
friend

Definition at line 68 of file Schema.hpp.

Field Documentation

◆ CONST_ID_

Identifier m::Schema::Identifier::CONST_ID_
staticprivate

Definition at line 44 of file Schema.hpp.

◆ name

ThreadSafePooledString m::Schema::Identifier::name

the name of this Identifier

Definition at line 48 of file Schema.hpp.

Referenced by Identifier(), index_scan_resolve_index_method(), and operator==().

◆ prefix

ThreadSafePooledOptionalString m::Schema::Identifier::prefix

optional prefix of this Identifier, may not have a value

Definition at line 47 of file Schema.hpp.

Referenced by Identifier(), and operator==().


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