MySQL 8.0.39
Source Code Documentation
|
Service for listing all metadata for a Component specified by the iterator. More...
#include <dynamic_loader.h>
Public Attributes | |
mysql_service_status_t(* | create )(my_h_component_iterator iterator, my_h_component_metadata_iterator *out_iterator) |
Creates iterator that iterates through all metadata for object pointed by the specified iterator. More... | |
mysql_service_status_t(* | get )(my_h_component_metadata_iterator iterator, const char **name, const char **value) |
Gets the key and value of the metadata pointed to by the specified iterator. More... | |
mysql_service_status_t(* | next )(my_h_component_metadata_iterator iterator) |
Advances specified iterator to next element. More... | |
mysql_service_status_t(* | is_valid )(my_h_component_metadata_iterator iterator) |
Checks if specified iterator is valid, i.e. More... | |
void(* | release )(my_h_component_metadata_iterator iterator) |
Releases the specified iterator. More... | |
Service for listing all metadata for a Component specified by the iterator.
mysql_service_status_t(* s_mysql_dynamic_loader_metadata_enumerate::create) (my_h_component_iterator iterator, my_h_component_metadata_iterator *out_iterator) |
Creates iterator that iterates through all metadata for object pointed by the specified iterator.
If successful it leaves read lock on the registry until the iterator is released.
iterator | A iterator that points to object to get the metadata iterator for. | |
[out] | out_iterator | Pointer to metadata iterator handle. |
false | success |
true | failure |
mysql_service_status_t(* s_mysql_dynamic_loader_metadata_enumerate::get) (my_h_component_metadata_iterator iterator, const char **name, const char **value) |
Gets the key and value of the metadata pointed to by the specified iterator.
iterator | Metadata iterator handle. | |
[out] | out_name | A pointer to the string with the key to set the result pointer to. |
[out] | out_value | A pointer to the string with the metadata value to set the result pointer to. |
false | success |
true | Failure, may be caused when called on the iterator that went through all values already. |
mysql_service_status_t(* s_mysql_dynamic_loader_metadata_enumerate::is_valid) (my_h_component_metadata_iterator iterator) |
Checks if specified iterator is valid, i.e.
have not reached one-past-last element.
iterator | Metadata iterator handle. |
false | Valid |
true | Invalid or reached one-past-last element. |
mysql_service_status_t(* s_mysql_dynamic_loader_metadata_enumerate::next) (my_h_component_metadata_iterator iterator) |
Advances specified iterator to next element.
Will fail if it reaches one-past-last element.
iterator | Metadata iterator handle. |
false | success |
true | Failure, may be caused when called on iterator that was on the last element. |
void(* s_mysql_dynamic_loader_metadata_enumerate::release) (my_h_component_metadata_iterator iterator) |
Releases the specified iterator.
Releases read lock on the registry.
iterator | Metadata iterator handle. |
false | success |
true | failure |