24#ifndef TABLE_PLUGIN_TABLE_H
25#define TABLE_PLUGIN_TABLE_H
61 int rnd_pos(
const void *pos)
override;
63 int index_init(uint idx,
bool sorted)
override;
70 bool read_all)
override;
73 Field **fields)
override;
76 Field **fields)
override;
Kerberos Client Authentication nullptr
Definition: auth_kerberos_client_plugin.cc:251
Definition: pfs_engine_table.h:284
An abstract PERFORMANCE_SCHEMA table.
Definition: pfs_engine_table.h:70
PFS_engine_index_abstract * m_index
Current index.
Definition: pfs_engine_table.h:180
Definition: table_plugin_table.h:99
void read_key(const uchar *key, uint key_len, enum ha_rkey_function find_flag) override
Definition: table_plugin_table.cc:49
int index_next(PSI_table_handle *table)
Definition: table_plugin_table.cc:60
~PFS_plugin_table_index() override=default
PSI_index_handle * m_plugin_index
Definition: table_plugin_table.h:116
int init(PSI_table_handle *table, uint idx, bool sorted)
Definition: table_plugin_table.cc:35
uint m_idx
Definition: table_plugin_table.h:115
PFS_engine_table_proxy * m_st_table
Definition: table_plugin_table.h:114
PFS_plugin_table_index(PFS_engine_table_proxy *st_table)
Definition: table_plugin_table.h:101
Definition: table_plugin_table.h:43
int index_next() override
Find key in index, read record.
Definition: table_plugin_table.cc:125
int rnd_init(bool scan) override
Initialize table scan.
Definition: table_plugin_table.cc:92
THR_LOCK * m_table_lock
Table share lock.
Definition: table_plugin_table.h:86
PFS_engine_table_share * m_share
Table share.
Definition: table_plugin_table.h:46
PSI_pos * m_next_pos
Next position.
Definition: table_plugin_table.h:94
bool m_row_exists
True is the current row exists.
Definition: table_plugin_table.h:89
int index_init(uint idx, bool sorted) override
Definition: table_plugin_table.cc:114
int read_row_values(TABLE *table, unsigned char *buf, Field **fields, bool read_all) override
Read the current row values.
Definition: table_plugin_table.cc:129
PFS_plugin_table_index * m_opened_index
Definition: table_plugin_table.h:96
int update_row_values(TABLE *table, const unsigned char *, unsigned char *, Field **fields) override
Update the current row values.
Definition: table_plugin_table.cc:165
int rnd_next() override
Fetch the next row in this cursor.
Definition: table_plugin_table.cc:99
int rnd_pos(const void *pos) override
Fetch a row by position.
Definition: table_plugin_table.cc:106
table_plugin_table(PFS_engine_table_share *share)
Definition: table_plugin_table.cc:72
int delete_row_values(TABLE *table, const unsigned char *buf, Field **fields) override
Delete a row.
Definition: table_plugin_table.cc:187
void reset_position() override
Reset the cursor position to the beginning of the table.
Definition: table_plugin_table.cc:85
~table_plugin_table() override
Definition: table_plugin_table.h:79
static PFS_engine_table * create(PFS_engine_table_share *share)
Definition: table_plugin_table.cc:68
int delete_all_rows()
Definition: table_plugin_table.cc:157
PFS_engine_table_proxy * m_st_table
Definition: table_plugin_table.h:47
PSI_pos * m_pos
Current position.
Definition: table_plugin_table.h:92
PSI_table_handle * plugin_table_handle
Definition: table_plugin_table.h:48
ha_rkey_function
Definition: my_base.h:78
unsigned char uchar
Definition: my_inttypes.h:52
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
Definition: buf0block_hint.cc:30
Performance schema tables (declarations).
struct PSI_table_handle PSI_table_handle
This is an opaque structure to denote table handle in plugin/component code.
Definition: pfs_plugin_table_service.h:97
struct PSI_pos PSI_pos
This is an opaque structure to denote cursor position in plugin/component code.
Definition: pfs_plugin_table_service.h:102
struct PSI_index_handle PSI_index_handle
This is an opaque structure to denote Index Handle in plugin/component code.
Definition: pfs_plugin_table_service.h:110
required string key
Definition: replication_asynchronous_connection_failover.proto:60
A structure to keep callback functions to be implemented by plugin/component.
Definition: pfs_plugin_table_service.h:413
close_table_t close_table
Definition: pfs_plugin_table_service.h:428
A PERFORMANCE_SCHEMA table share.
Definition: pfs_engine_table.h:359
Definition: thr_lock.h:139