![]()  | 
  
    MySQL 8.4.7
    
   Source Code Documentation 
   | 
 
A JSON array (ordered set of values). More...
#include <opt_trace.h>
Public Member Functions | |
| Opt_trace_array (Opt_trace_context *ctx, const char *key, Opt_trace_context::feature_value feature=Opt_trace_context::MISC) | |
| Constructs an array.  More... | |
| Opt_trace_array (Opt_trace_context *ctx, Opt_trace_context::feature_value feature=Opt_trace_context::MISC) | |
| Constructs an array.  More... | |
  Public Member Functions inherited from Opt_trace_struct | |
| void | end () | 
| The exception to RAII: this function is an explicit way of ending a structure before it goes out of scope.  More... | |
| Opt_trace_struct & | add_alnum (const char *key, const char *value) | 
| Adds a value (of string type) to the structure.  More... | |
| Opt_trace_struct & | add_alnum (const char *value) | 
| Adds a value (of string type) to the structure.  More... | |
| Opt_trace_struct & | add_utf8 (const char *key, const char *value, size_t val_length) | 
| Like add_alnum() but supports any UTF8 characters in 'value'.  More... | |
| Opt_trace_struct & | add_utf8 (const char *value, size_t val_length) | 
| Variant of add_utf8() for adding to an array (no key)  More... | |
| Opt_trace_struct & | add_utf8 (const char *key, const char *value) | 
| Variant of add_utf8() where 'value' is 0-terminated.  More... | |
| Opt_trace_struct & | add_utf8 (const char *value) | 
| Variant of add_utf8() where 'value' is 0-terminated.  More... | |
| Opt_trace_struct & | add (const char *key, const Item *item) | 
| Add a value (of Item type) to the structure.  More... | |
| Opt_trace_struct & | add (const Item *item) | 
| Opt_trace_struct & | add (const char *key, bool value) | 
| Opt_trace_struct & | add (bool value) | 
| Opt_trace_struct & | add (const char *key, int value) | 
| Opt_trace_struct & | add (int value) | 
| Opt_trace_struct & | add (const char *key, uint value) | 
| Opt_trace_struct & | add (uint value) | 
| Opt_trace_struct & | add (const char *key, ulong value) | 
| Opt_trace_struct & | add (ulong value) | 
| Opt_trace_struct & | add (const char *key, longlong value) | 
| Opt_trace_struct & | add (longlong value) | 
| Opt_trace_struct & | add (const char *key, ulonglong value) | 
| Opt_trace_struct & | add (ulonglong value) | 
| Opt_trace_struct & | add (const char *key, double value) | 
| Opt_trace_struct & | add (double value) | 
| Opt_trace_struct & | add_null (const char *key) | 
| Adds a JSON null object (==Python's "None")  More... | |
| Opt_trace_struct & | add_utf8_table (const Table_ref *tab) | 
| Helper to put the database/table name in an object.  More... | |
| Opt_trace_struct & | add_select_number (uint select_number) | 
| Helper to put the number of query_block in an object.  More... | |
| Opt_trace_struct & | add (const char *key, const Cost_estimate &cost) | 
| Add a value to the structure.  More... | |
| bool | set_not_empty () | 
| Informs this structure that we are adding data (scalars, structures) to it.  More... | |
| const char * | check_key (const char *key) | 
| Validates the key about to be added.  More... | |
Additional Inherited Members | |
  Protected Member Functions inherited from Opt_trace_struct | |
| Opt_trace_struct (Opt_trace_context *ctx_arg, bool requires_key_arg, const char *key, Opt_trace_context::feature_value feature) | |
| ~Opt_trace_struct () | |
A JSON array (ordered set of values).
Defines only a constructor, all the rest in inherited from Opt_trace_struct.
      
  | 
  inline | 
Constructs an array.
Key is specified, so the array is the value of a key/value pair.
| ctx | context for this array | 
| key | key | 
| feature | optimizer feature to which this structure belongs | 
      
  | 
  inline | 
Constructs an array.
No key is specified, so the array is just a value (serves for adding the object to an array).
| ctx | context for this array | 
| feature | optimizer feature to which this structure belongs |