This is the Log_resource factory to create wrappers for supported resources.
More...
#include <log_resource.h>
This is the Log_resource factory to create wrappers for supported resources.
◆ get_wrapper() [1/4]
Creates a Log_resource wrapper based on a Gtid_state object.
- Parameters
-
[in] | gtid_state | the pointer to the Gtid_state object resource. |
[in] | json | the pointer to the JSON object to be populated with the resource log information. |
- Returns
- the pointer to the new Log_resource.
◆ get_wrapper() [2/4]
Creates a Log_resource wrapper based on a handlerton.
- Parameters
-
[in] | hton | the pointer to the handlerton resource. |
[in] | json | the pointer to the JSON object to be populated with the resource log information. |
- Returns
- the pointer to the new Log_resource.
◆ get_wrapper() [3/4]
Creates a Log_resource wrapper based on a Master_info object.
- Parameters
-
[in] | mi | the pointer to the Master_info object resource. |
[in] | json | the pointer to the JSON object to be populated with the resource log information. |
- Returns
- the pointer to the new Log_resource.
◆ get_wrapper() [4/4]
Creates a Log_resource wrapper based on a Master_info object.
- Parameters
-
[in] | binlog | the pointer to the MYSQL_BIN_LOG object resource. |
[in] | json | the pointer to the JSON object to be populated with the resource log information. |
- Returns
- the pointer to the new Log_resource.
The documentation for this class was generated from the following files: