MySQL 8.4.2
Source Code Documentation
s_mysql_registry_metadata_query Struct Reference

Service to query specified metadata key directly for the specified Service Implementation by iterator to it. More...

#include <registry.h>

Public Attributes

mysql_service_status_t(* get_value )(my_h_service_iterator iterator, const char *name, const char **value)
 Gets the key and value of the metadata pointed to by the specified object iterator. More...
 

Detailed Description

Service to query specified metadata key directly for the specified Service Implementation by iterator to it.

Member Data Documentation

◆ get_value

mysql_service_status_t(* s_mysql_registry_metadata_query::get_value) (my_h_service_iterator iterator, const char *name, const char **value)

Gets the key and value of the metadata pointed to by the specified object iterator.

The pointer returned will last at least up to the moment of call to the release() method on the iterator.

Parameters
iteratorA iterator that points to object to get the metadata iterator for.
nameA pointer to the string with the key to set the result pointer to.
[out]out_valueA pointer to the string with the metadata value to set the result pointer to.
Returns
Status of performed operation
Return values
falsesuccess
trueFailure, may be caused when called on the iterator that went through all values already.

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