Debian Codegraph @

storage/perfschema/table_esms_global_by_event_name.h

raw symbols SCIP
1 /* Copyright (c) 2010, 2023, Oracle and/or its affiliates.
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License, version 2.0,
5 as published by the Free Software Foundation.
6
7 This program is also distributed with certain software (including
8 but not limited to OpenSSL) that is licensed under separate terms,
9 as designated in a particular file or component or in included license
10 documentation. The authors of MySQL hereby grant you an additional
11 permission to link the program and your derivative works with the
12 separately licensed software that they have included with MySQL.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License, version 2.0, for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
22
23 #ifndef TABLE_ESMS_GLOBAL_BY_EVENT_NAME_H
24 #define TABLE_ESMS_GLOBAL_BY_EVENT_NAME_Hcxx . . $ `storage/perfschema/table_esms_global_by_event_name.h:24:9`!
25
26 /**
27 @file storage/perfschema/table_esms_global_by_event_name.h
28 Table EVENTS_STATEMENTS_SUMMARY_GLOBAL_BY_EVENT_NAME (declarations).
29 */
30
31 #include "pfs_column_types.h"cxx . . $ `<file>/storage/perfschema/pfs_column_types.h`/
32 #include "pfs_engine_table.h"cxx . . $ `<file>/storage/perfschema/pfs_engine_table.h`/
33 #include "pfs_instr_class.h"cxx . . $ `<file>/storage/perfschema/pfs_instr_class.h`/
34 #include "pfs_instr.h"cxx . . $ `<file>/storage/perfschema/pfs_instr.h`/
35 #include "table_helper.h"cxx . . $ `<file>/storage/perfschema/table_helper.h`/
36
37 /**
38 @addtogroup Performance_schema_tables
39 @{
40 */
41
42 /**
43 A row of table
44 PERFORMANCE_SCHEMA.EVENTS_STATEMENTS_SUMMARY_GLOBAL_BY_EVENT_NAME.
45 */
46 struct row_esms_global_by_event_namecxx . . $ row_esms_global_by_event_name#
47 {
48 /** Column EVENT_NAME. */
49 PFS_event_name_rowcxx . . $ PFS_event_name_row# m_event_namecxx . . $ row_esms_global_by_event_name#m_event_name.;
50 /** Columns COUNT_STAR, SUM/MIN/AVG/MAX TIMER_WAIT. */
51 PFS_statement_stat_rowcxx . . $ PFS_statement_stat_row# m_statcxx . . $ row_esms_global_by_event_name#m_stat.;
52 };
53
54 /** Table PERFORMANCE_SCHEMA.EVENTS_STATEMENTS_SUMMARY_GLOBAL_BY_EVENT_NAME. */
55 class table_esms_global_by_event_namecxx . . $ table_esms_global_by_event_name# : public PFS_engine_tablecxx . . $ PFS_engine_table#
56 {
57 public:
58 static PFS_engine_table_share_statecxx . . $ PFS_engine_table_share_state# m_share_statecxx . . $ table_esms_global_by_event_name#m_share_state.;
59 /** Table share */
60 static PFS_engine_table_sharecxx . . $ PFS_engine_table_share# m_sharecxx . . $ table_esms_global_by_event_name#m_share.;
61 static PFS_engine_tablecxx . . $ PFS_engine_table#* createcxx . . $ table_esms_global_by_event_name#create(314e88453c9d561a).();
62 static int delete_all_rowscxx . . $ table_esms_global_by_event_name#delete_all_rows(b126dc7c1de90089).();
63 static ha_rowscxx . . $ ha_rows# get_row_countcxx . . $ table_esms_global_by_event_name#get_row_count(73266883b0c7072b).();
64
65 int rnd_initcxx . . $ table_esms_global_by_event_name#rnd_init(73da94e76e6bd037).(bool scan) override;
66 int rnd_nextcxx . . $ table_esms_global_by_event_name#rnd_next(b126dc7c1de90089).() override;
67 int rnd_poscxx . . $ table_esms_global_by_event_name#rnd_pos(aa284d429d6986c8).(const void *pos) override;
68 void reset_positioncxx . . $ table_esms_global_by_event_name#reset_position(49f6e7a06ebc5aa8).(void) override;
69
70 protected:
71 int read_row_valuescxx . . $ table_esms_global_by_event_name#read_row_values(139ec8e2a7764e1).(TABLEcxx . . $ TABLE# *table,
72 unsigned char *buf,
73 Fieldcxx . . $ Field# **fields,
74 bool read_all) override;
75
76 table_esms_global_by_event_namecxx . . $ table_esms_global_by_event_name#table_esms_global_by_event_name(49f6e7a06ebc5aa8).();
77
78 public:
79 ~cxx . . $ table_esms_global_by_event_name#`~table_esms_global_by_event_name`(ced63f7c635d850d).table_esms_global_by_event_namecxx . . $ table_esms_global_by_event_name#() = default;
80
81 protected:
82 void make_rowcxx . . $ table_esms_global_by_event_name#make_row(95805d1aadedf7eb).(PFS_statement_classcxx . . $ PFS_statement_class# *klass);
83
84 private:
85 /** Table share lock. */
86 static THR_LOCK m_table_lockcxx . . $ table_esms_global_by_event_name#m_table_lock.;
87
88 /** Current row. */
89 row_esms_global_by_event_namecxx . . $ row_esms_global_by_event_name# m_rowcxx . . $ table_esms_global_by_event_name#m_row.;
90 /** True is the current row exists. */
91 bool m_row_existscxx . . $ table_esms_global_by_event_name#m_row_exists.;
92 /** Current position. */
93 PFS_simple_indexcxx . . $ PFS_simple_index# m_poscxx . . $ table_esms_global_by_event_name#m_pos.;
94 /** Next position. */
95 PFS_simple_indexcxx . . $ PFS_simple_index# m_next_poscxx . . $ table_esms_global_by_event_name#m_next_pos.;
96 };
97
98 /** @} */
99 #endif