MySQL 8.0.40
Source Code Documentation
|
Service for listing all metadata for a Service Implementation specified by the given iterator. More...
#include <registry.h>
Public Attributes | |
mysql_service_status_t(* | create )(my_h_service_iterator iterator, my_h_service_metadata_iterator *out_iterator) |
Creates a iterator that iterates through all metadata for the object pointed by the specified iterator. More... | |
mysql_service_status_t(* | get )(my_h_service_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_service_metadata_iterator iterator) |
Advances specified iterator to next element. More... | |
mysql_service_status_t(* | is_valid )(my_h_service_metadata_iterator iterator) |
Checks if specified iterator is valid, i.e. More... | |
void(* | release )(my_h_service_metadata_iterator iterator) |
Releases the specified iterator. More... | |
Service for listing all metadata for a Service Implementation specified by the given iterator.
mysql_service_status_t(* s_mysql_registry_metadata_enumerate::create) (my_h_service_iterator iterator, my_h_service_metadata_iterator *out_iterator) |
Creates a iterator that iterates through all metadata for the 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_registry_metadata_enumerate::get) (my_h_service_metadata_iterator iterator, const char **name, const char **value) |
Gets the key and value of the metadata pointed to by the specified iterator.
The pointers returned will last at least up to the moment of call to the release() method on the 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_registry_metadata_enumerate::is_valid) (my_h_service_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_registry_metadata_enumerate::next) (my_h_service_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 last element. |
void(* s_mysql_registry_metadata_enumerate::release) (my_h_service_metadata_iterator iterator) |
Releases the specified iterator.
Releases read lock on the registry.
iterator | Metadata iterator handle. |
false | success |
true | failure |