24#ifndef DD__PARTITION_VALUE_IMPL_INCLUDED
25#define DD__PARTITION_VALUE_IMPL_INCLUDED
42class Open_dictionary_tables_ctx;
Definition: object_key.h:38
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:72
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:76
Definition: partition_impl.h:60
Definition: partition_value_impl.h:52
void set_value_utf8(const String_type &value) override
Definition: partition_value_impl.h:122
static Partition_value_impl * clone(const Partition_value_impl &other, Partition_impl *partition)
Definition: partition_value_impl.h:149
uint m_list_num
Definition: partition_value_impl.h:166
void debug_print(String_type &outb) const override
Definition: partition_value_impl.cc:146
~Partition_value_impl() override=default
bool m_max_value
Definition: partition_value_impl.h:163
String_type m_value_utf8
Definition: partition_value_impl.h:169
bool restore_attributes(const Raw_record &r) override
Definition: partition_value_impl.cc:82
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: partition_value_impl.cc:192
uint column_num() const override
Definition: partition_value_impl.h:112
bool is_value_null() const override
Definition: partition_value_impl.h:138
bool validate() const override
Definition: partition_value_impl.cc:70
bool max_value() const override
Definition: partition_value_impl.h:130
Partition_value_impl()
Definition: partition_value_impl.h:54
void serialize(Sdi_wcontext *wctx, Sdi_writer *w) const override
Converts *this into json.
Definition: partition_value_impl.cc:123
uint list_num() const override
Definition: partition_value_impl.h:104
void set_value_null(bool is_null) override
Definition: partition_value_impl.h:140
bool deserialize(Sdi_rcontext *rctx, const RJ_Value &val) override
Re-establishes the state of *this by reading sdi information from the rapidjson DOM subobject provide...
Definition: partition_value_impl.cc:135
bool m_null_value
Definition: partition_value_impl.h:164
Object_key * create_primary_key() const override
Definition: partition_value_impl.cc:163
void set_list_num(uint list_num) override
Definition: partition_value_impl.h:106
const String_type & value_utf8() const override
Definition: partition_value_impl.h:120
void set_ordinal_position(uint)
Definition: partition_value_impl.h:85
void set_max_value(bool max_value) override
Definition: partition_value_impl.h:132
bool has_new_primary_key() const override
Indicates that object is guaranteed to have primary key value which doesn't exist in database (e....
Definition: partition_value_impl.cc:168
static Partition_value_impl * restore_item(Partition_impl *partition)
Definition: partition_value_impl.h:145
void set_column_num(uint column_num) override
Definition: partition_value_impl.h:114
bool store_attributes(Raw_record *r) override
Definition: partition_value_impl.cc:108
const Object_table & object_table() const override
Definition: partition_value_impl.cc:186
virtual uint ordinal_position() const
Definition: partition_value_impl.h:87
const Partition & partition() const override
Definition: partition_value_impl.cc:62
uint m_column_num
Definition: partition_value_impl.h:167
Partition_value_impl(Partition_impl *partition)
Definition: partition_value_impl.h:61
Partition_impl * m_partition
Definition: partition_value_impl.h:172
Definition: partition_value.h:45
virtual uint column_num() const =0
virtual uint list_num() const =0
Definition: partition.h:51
Definition: raw_record.h:46
Opaque context which keeps reusable resoureces needed during deserialization.
Definition: sdi.cc:231
Opaque context which keeps reusable resources needed during serialization.
Definition: sdi.cc:129
Definition: weak_object_impl.h:48
Fido Client Authentication nullptr
Definition: fido_client_plugin.cc:222
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
RJ_Writer Sdi_writer
Alias for the rapidjson Writer type to use in serialization.
Definition: sdi_fwd.h:64
rapidjson::GenericValue< RJ_Encoding, RJ_Allocator > RJ_Value
Definition: sdi_fwd.h:49
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
This header provides Rapidjson Type Aliases.
Used to sort Partition_value objects for the same partition first according to list number and then a...
Definition: partition_value_impl.h:182
bool operator()(const dd::Partition_value *pv1, const dd::Partition_value *pv2) const
Definition: partition_value_impl.h:183
unsigned int uint
Definition: uca9-dump.cc:75