MySQL 9.2.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
UnstructuredTrace Class Referencefinal

Trace in the form of plain text (i.e. More...

#include <optimizer_trace.h>

Public Member Functions

 UnstructuredTrace (int64_t max_bytes)
 
std::ostream & stream ()
 Get the stream in which to put the trace text. More...
 
TraceBuffercontents ()
 
const TraceBuffercontents () const
 

Private Attributes

TraceBuffer m_buffer
 The trace text. More...
 
std::ostream m_stream
 The stream that formats text and appends it to m_buffer. More...
 

Detailed Description

Trace in the form of plain text (i.e.

no JSON tree), as used by the Hypergraph optimizer.

Constructor & Destructor Documentation

◆ UnstructuredTrace()

UnstructuredTrace::UnstructuredTrace ( int64_t  max_bytes)
inlineexplicit
Parameters
max_bytesThe maximal number of trace bytes, as given by the optimizer_trace_max_mem_size system variable.

Member Function Documentation

◆ contents() [1/2]

TraceBuffer & UnstructuredTrace::contents ( )
inline

◆ contents() [2/2]

const TraceBuffer & UnstructuredTrace::contents ( ) const
inline

◆ stream()

std::ostream & UnstructuredTrace::stream ( )
inline

Get the stream in which to put the trace text.

Member Data Documentation

◆ m_buffer

TraceBuffer UnstructuredTrace::m_buffer
private

The trace text.

◆ m_stream

std::ostream UnstructuredTrace::m_stream
private

The stream that formats text and appends it to m_buffer.


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