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

Public Member Functions

 PhysicalOperatorLogType ()
 Construct the log type.
Public Member Functions inherited from duckdb::LogType
 LogType (const string &name_p, const LogLevel &level_p)
 Construct an unstructured type.
 LogType (const string &name_p, const LogLevel &level_p, LogicalType structured_type)
 Construct a structured type.

Static Public Member Functions

static LogicalType GetLogType ()
static string ConstructLogMessage (const PhysicalOperator &op, const string &class_p, const string &event, const vector< pair< string, string > > &info)

Static Public Attributes

static constexpr const char * NAME = "PhysicalOperator"
static constexpr LogLevel LEVEL = LogLevel::LOG_DEBUG

Additional Inherited Members

Public Attributes inherited from duckdb::LogType
string name
LogLevel level
bool is_structured
LogicalType type

Constructor & Destructor Documentation

◆ PhysicalOperatorLogType()

duckdb::PhysicalOperatorLogType::PhysicalOperatorLogType ( )

Construct the log type.

260793 : LogType(NAME, LEVEL, GetLogType()) {
260794}
LogType(const string &name_p, const LogLevel &level_p)
Construct an unstructured type.
Definition duckdb.hpp:39081
Here is the call graph for this function:

Member Function Documentation

◆ GetLogType()

LogicalType duckdb::PhysicalOperatorLogType::GetLogType ( )
static
260796 {
260797 child_list_t<LogicalType> child_list = {
260798 {"operator_type", LogicalType::VARCHAR},
260799 {"parameters", LogicalType::MAP(LogicalType::VARCHAR, LogicalType::VARCHAR)},
260800 {"class", LogicalType::VARCHAR},
260801 {"event", LogicalType::VARCHAR},
260802 {"info", LogicalType::MAP(LogicalType::VARCHAR, LogicalType::VARCHAR)},
260803 };
260804 return LogicalType::STRUCT(child_list);
260805}

◆ ConstructLogMessage()

string duckdb::PhysicalOperatorLogType::ConstructLogMessage ( const PhysicalOperator & op,
const string & class_p,
const string & event,
const vector< pair< string, string > > & info )
static
260819 {
260820 child_list_t<Value> child_list = {
260821 {"operator_type", EnumUtil::ToString(physical_operator.type)},
260822 {"parameters", StringPairIterableToMap(physical_operator.ParamsToString())},
260823 {"class", class_p},
260824 {"event", event},
260825 {"info", StringPairIterableToMap(info)},
260826 };
260827
260828 return Value::STRUCT(std::move(child_list)).ToString();
260829}
DUCKDB_API string ToString() const
Convert this value to a string.
Definition duckdb.cpp:133318
static DUCKDB_API Value STRUCT(child_list_t< Value > values)
Create a struct value with given list of entries.
Definition duckdb.cpp:132434

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