24#ifndef TABLE_EWS_GLOBAL_BY_EVENT_NAME_H
25#define TABLE_EWS_GLOBAL_BY_EVENT_NAME_H
114 int rnd_pos(
const void *pos)
override;
121 bool read_all)
override;
Definition: pfs_engine_table.h:300
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
Definition: table_ews_global_by_event_name.h:54
PFS_index_ews_global_by_event_name()
Definition: table_ews_global_by_event_name.h:56
PFS_key_event_name m_key
Definition: table_ews_global_by_event_name.h:65
virtual bool match(PFS_instr_class *instr_class)
Definition: table_ews_global_by_event_name.cc:88
~PFS_index_ews_global_by_event_name() override=default
virtual bool match_view(uint view)
Definition: table_ews_global_by_event_name.cc:81
Definition: table_helper.h:1458
Class to hold information regarding a table to be created on behalf of a plugin.
Definition: plugin_table.h:40
Table PERFORMANCE_SCHEMA.EVENTS_WAITS_SUMMARY_GLOBAL_BY_EVENT_NAME.
Definition: table_ews_global_by_event_name.h:103
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: table_ews_global_by_event_name.cc:120
static Plugin_table m_table_def
Table definition.
Definition: table_ews_global_by_event_name.h:143
int make_rwlock_row(PFS_rwlock_class *klass)
Definition: table_ews_global_by_event_name.cc:414
~table_ews_global_by_event_name() override=default
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_ews_global_by_event_name.cc:125
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_ews_global_by_event_name.cc:505
static int delete_all_rows()
Definition: table_ews_global_by_event_name.cc:102
static ha_rows get_row_count()
Definition: table_ews_global_by_event_name.cc:110
int make_cond_row(PFS_cond_class *klass)
Definition: table_ews_global_by_event_name.cc:424
static PFS_engine_table_share m_share
Table share.
Definition: table_ews_global_by_event_name.h:106
int make_idle_row(PFS_instr_class *klass)
Definition: table_ews_global_by_event_name.cc:475
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_ews_global_by_event_name.cc:202
int make_table_lock_row(PFS_instr_class *klass)
Definition: table_ews_global_by_event_name.cc:454
int make_socket_row(PFS_socket_class *klass)
Definition: table_ews_global_by_event_name.cc:465
static THR_LOCK m_table_lock
Table share lock.
Definition: table_ews_global_by_event_name.h:141
pos_ews_global_by_event_name m_next_pos
Next position.
Definition: table_ews_global_by_event_name.h:150
row_ews_global_by_event_name m_row
Current row.
Definition: table_ews_global_by_event_name.h:146
int make_metadata_row(PFS_instr_class *klass)
Definition: table_ews_global_by_event_name.cc:491
PFS_index_ews_global_by_event_name * m_opened_index
Definition: table_ews_global_by_event_name.h:152
pos_ews_global_by_event_name m_pos
Current position.
Definition: table_ews_global_by_event_name.h:148
int make_table_io_row(PFS_instr_class *klass)
Definition: table_ews_global_by_event_name.cc:444
int index_next() override
Find key in index, read record.
Definition: table_ews_global_by_event_name.cc:281
int index_init(uint idx, bool sorted) override
Definition: table_ews_global_by_event_name.cc:271
int make_mutex_row(PFS_mutex_class *klass)
Definition: table_ews_global_by_event_name.cc:404
int make_file_row(PFS_file_class *klass)
Definition: table_ews_global_by_event_name.cc:434
static PFS_engine_table * create(PFS_engine_table_share *)
Definition: table_ews_global_by_event_name.cc:97
table_ews_global_by_event_name()
Definition: table_ews_global_by_event_name.cc:114
This file includes constants used by all storage engines.
my_off_t ha_rows
Definition: my_base.h:1140
Definition: buf0block_hint.cc:30
Performance schema tables (declarations).
Instrumentation metadata for a condition.
Definition: pfs_instr_class.h:342
Position of a double cursor, for iterations using 2 nested loops.
Definition: pfs_engine_table.h:601
uint m_index_1
Outer index.
Definition: pfs_engine_table.h:603
uint m_index_2
Current index within index_1.
Definition: pfs_engine_table.h:605
A PERFORMANCE_SCHEMA table share.
Definition: pfs_engine_table.h:358
Row fragment for column EVENT_NAME.
Definition: table_helper.h:582
Instrumentation metadata for a file.
Definition: pfs_instr_class.h:540
Information for all instrumentation.
Definition: pfs_instr_class.h:205
Name space, internal views used within table setup_instruments.
Definition: table_helper.h:489
static const uint LAST_VIEW
Definition: table_helper.h:501
static const uint FIRST_VIEW
Definition: table_helper.h:492
Instrumentation metadata for a mutex.
Definition: pfs_instr_class.h:322
Instrumentation metadata for a read write lock.
Definition: pfs_instr_class.h:332
Instrumentation metadata for a socket.
Definition: pfs_instr_class.h:569
Row fragment for single statistics columns (COUNT, SUM, MIN, AVG, MAX)
Definition: table_helper.h:688
Definition: thr_lock.h:139
Position of a cursor on PERFORMANCE_SCHEMA.EVENTS_WAITS_SUMMARY_GLOBAL_BY_EVENT_NAME.
Definition: table_ews_global_by_event_name.h:86
void next_view()
Definition: table_ews_global_by_event_name.h:96
bool has_more_view()
Definition: table_ews_global_by_event_name.h:94
pos_ews_global_by_event_name()
Definition: table_ews_global_by_event_name.h:87
void reset()
Definition: table_ews_global_by_event_name.h:89
A row of table PERFORMANCE_SCHEMA.EVENTS_WAITS_SUMMARY_GLOBAL_BY_EVENT_NAME.
Definition: table_ews_global_by_event_name.h:72
PFS_event_name_row m_event_name
Column EVENT_NAME.
Definition: table_ews_global_by_event_name.h:74
PFS_stat_row m_stat
Columns COUNT_STAR, SUM/MIN/AVG/MAX TIMER_WAIT.
Definition: table_ews_global_by_event_name.h:76
Helpers to implement a performance schema table.
unsigned int uint
Definition: uca9-dump.cc:75