MySQL 26.7.0
Source Code Documentation
mysql::csa::IReader_event Class Referenceabstract

Interface for abstract event data returned by the reader, which can be decoded into a log event using the "decode" function. More...

#include <ireader_event.h>

Inheritance diagram for mysql::csa::IReader_event:
[legend]

Public Member Functions

virtual std::shared_ptr< Log_eventdecode ()=0
 Decode function, which obtains Log event smart pointer. More...
 
virtual ~IReader_event ()=default
 
virtual void reset (const Format_description_log_event *)=0
 Resets event state. More...
 

Detailed Description

Interface for abstract event data returned by the reader, which can be decoded into a log event using the "decode" function.

See also
Reader_event_controller_read_type

Constructor & Destructor Documentation

◆ ~IReader_event()

virtual mysql::csa::IReader_event::~IReader_event ( )
virtualdefault

Member Function Documentation

◆ decode()

virtual std::shared_ptr< Log_event > mysql::csa::IReader_event::decode ( )
pure virtual

Decode function, which obtains Log event smart pointer.

Returns
Log event smart pointer

Implemented in mysql::csa::Cached_event, and mysql::csa::Cached_event_payload.

◆ reset()

virtual void mysql::csa::IReader_event::reset ( const Format_description_log_event )
pure virtual

Resets event state.

Implemented in mysql::csa::Cached_event_payload, and mysql::csa::Cached_event.


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