MySQL 9.1.0
Source Code Documentation
|
Cached_item subclass for JSON values. More...
#include <item.h>
Public Member Functions | |
Cached_item_json (Item *item) | |
~Cached_item_json () override | |
bool | cmp () override |
Compare the new JSON value in member 'item' with the previous value. More... | |
Public Member Functions inherited from Cached_item | |
virtual | ~Cached_item ()=default |
Item * | get_item () const |
Item ** | get_item_ptr () |
Private Attributes | |
Json_wrapper * | m_value |
The cached JSON value. More... | |
Additional Inherited Members | |
Public Attributes inherited from Cached_item | |
bool | null_value {true} |
Protected Member Functions inherited from Cached_item | |
Cached_item (Item *i) | |
Protected Attributes inherited from Cached_item | |
Item * | item |
The item whose value to cache. More... | |
Cached_item subclass for JSON values.
|
explicit |
|
override |
|
overridevirtual |
Compare the new JSON value in member 'item' with the previous value.
true | if the new value is different from the previous value, or if there is no previously cached value |
false | if the new value is the same as the already cached value |
Implements Cached_item.
|
private |
The cached JSON value.