MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
table_all_instr Class Reference

#include <table_all_instr.h>

Inheritance diagram for table_all_instr:
Collaboration diagram for table_all_instr:

Public Member Functions

virtual int rnd_next ()
virtual int rnd_pos (const void *pos)
virtual void reset_position (void)
- Public Member Functions inherited from PFS_engine_table
int read_row (TABLE *table, unsigned char *buf, Field **fields)
int update_row (TABLE *table, const unsigned char *old_buf, unsigned char *new_buf, Field **fields)
int delete_row (TABLE *table, const unsigned char *buf, Field **fields)
virtual int rnd_init (bool scan)
void get_position (void *ref)
void set_position (const void *ref)
void get_normalizer (PFS_instr_class *instr_class)
virtual ~PFS_engine_table ()

Protected Member Functions

 table_all_instr (const PFS_engine_table_share *share)
virtual void make_mutex_row (PFS_mutex *pfs)=0
virtual void make_rwlock_row (PFS_rwlock *pfs)=0
virtual void make_cond_row (PFS_cond *pfs)=0
virtual void make_file_row (PFS_file *pfs)=0
virtual void make_socket_row (PFS_socket *pfs)=0
- Protected Member Functions inherited from PFS_engine_table
virtual int read_row_values (TABLE *table, unsigned char *buf, Field **fields, bool read_all)=0
virtual int update_row_values (TABLE *table, const unsigned char *old_buf, unsigned char *new_buf, Field **fields)
virtual int delete_row_values (TABLE *table, const unsigned char *buf, Field **fields)
 PFS_engine_table (const PFS_engine_table_share *share, void *pos)

Protected Attributes

pos_all_instr m_pos
pos_all_instr m_next_pos
- Protected Attributes inherited from PFS_engine_table
const PFS_engine_table_sharem_share_ptr
void * m_pos_ptr
time_normalizerm_normalizer
enum PFS_class_type m_class_type

Additional Inherited Members

- Static Public Member Functions inherited from PFS_engine_table
static const
PFS_engine_table_share
find_engine_table_share (const char *name)
static void set_field_ulong (Field *f, ulong value)
static void set_field_ulonglong (Field *f, ulonglong value)
static void set_field_char_utf8 (Field *f, const char *str, uint len)
static void set_field_varchar_utf8 (Field *f, const char *str, uint len)
static void set_field_longtext_utf8 (Field *f, const char *str, uint len)
static void set_field_enum (Field *f, ulonglong value)
static void set_field_timestamp (Field *f, ulonglong value)
static ulonglong get_field_enum (Field *f)
static Stringget_field_char_utf8 (Field *f, String *val)
static Stringget_field_varchar_utf8 (Field *f, String *val)

Detailed Description

Abstract table, a union of all instrumentations instances. This table is a union of:

  • a view on all mutex instances,
  • a view on all rwlock instances,
  • a view on all cond instances,
  • a view on all file instances,
  • a view on all socket instances

Definition at line 67 of file table_all_instr.h.

Member Function Documentation

virtual void table_all_instr::make_cond_row ( PFS_cond pfs)
protectedpure virtual

Build a row in the condition instance view.

Parameters
pfsthe condition instance

Implemented in table_events_waits_summary_by_instance.

Here is the caller graph for this function:

virtual void table_all_instr::make_file_row ( PFS_file pfs)
protectedpure virtual

Build a row in the file instance view.

Parameters
pfsthe file instance

Implemented in table_events_waits_summary_by_instance.

Here is the caller graph for this function:

virtual void table_all_instr::make_mutex_row ( PFS_mutex pfs)
protectedpure virtual

Build a row in the mutex instance view.

Parameters
pfsthe mutex instance

Implemented in table_events_waits_summary_by_instance.

Here is the caller graph for this function:

virtual void table_all_instr::make_rwlock_row ( PFS_rwlock pfs)
protectedpure virtual

Build a row in the rwlock instance view.

Parameters
pfsthe rwlock instance

Implemented in table_events_waits_summary_by_instance.

Here is the caller graph for this function:

virtual void table_all_instr::make_socket_row ( PFS_socket pfs)
protectedpure virtual

Build a row in the socket instance view.

Parameters
pfsthe socket instance

Implemented in table_events_waits_summary_by_instance.

Here is the caller graph for this function:

void table_all_instr::reset_position ( void  )
virtual

Reset the cursor position to the beginning of the table.

Implements PFS_engine_table.

Definition at line 31 of file table_all_instr.cc.

int table_all_instr::rnd_next ( )
virtual

Fetch the next row in this cursor.

Implements PFS_engine_table.

Definition at line 37 of file table_all_instr.cc.

Here is the call graph for this function:

int table_all_instr::rnd_pos ( const void *  pos)
virtual

Fetch a row by position.

Parameters
posposition to fetch

Implements PFS_engine_table.

Definition at line 116 of file table_all_instr.cc.

Here is the call graph for this function:

Member Data Documentation

pos_all_instr table_all_instr::m_next_pos
protected

Next position.

Definition at line 111 of file table_all_instr.h.

pos_all_instr table_all_instr::m_pos
protected

Current position.

Definition at line 109 of file table_all_instr.h.


The documentation for this class was generated from the following files: