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

Public Member Functions

 QueryContext (optional_ptr< ClientContext > context)
 
 QueryContext (ClientContext &context)
 
bool Valid () const
 
optional_ptr< ClientContextGetClientContext () const
 

Private Attributes

optional_ptr< ClientContextcontext
 

Detailed Description

The QueryContext wraps an optional client context. It makes query-related information available to operations.

Constructor & Destructor Documentation

◆ QueryContext() [1/3]

duckdb::QueryContext::QueryContext ( )
inline
41832 : context(nullptr) {
41833 }

◆ QueryContext() [2/3]

duckdb::QueryContext::QueryContext ( optional_ptr< ClientContext context)
inline
41834 : context(context) { // NOLINT: allow implicit construction
41835 }

◆ QueryContext() [3/3]

duckdb::QueryContext::QueryContext ( ClientContext context)
inline
41836 : context(&context) { // NOLINT: allow implicit construction
41837 }

Member Function Documentation

◆ Valid()

bool duckdb::QueryContext::Valid ( ) const
inline
41840 {
41841 return context != nullptr;
41842 }

◆ GetClientContext()

optional_ptr< ClientContext > duckdb::QueryContext::GetClientContext ( ) const
inline
41843 {
41844 return context;
41845 }

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