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

#include <table_tlws_by_table.h>

Inheritance diagram for table_tlws_by_table:
Collaboration diagram for table_tlws_by_table:

Public Member Functions

virtual int rnd_init (bool scan)
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)
void get_position (void *ref)
void set_position (const void *ref)
void get_normalizer (PFS_instr_class *instr_class)
virtual ~PFS_engine_table ()

Static Public Member Functions

static PFS_engine_tablecreate ()
static int delete_all_rows ()
- 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)

Static Public Attributes

static PFS_engine_table_share m_share

Protected Member Functions

virtual int read_row_values (TABLE *table, unsigned char *buf, Field **fields, bool read_all)
void make_row (PFS_table_share *table_share)
- Protected Member Functions inherited from PFS_engine_table
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)

Additional Inherited Members

- 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

Detailed Description

Table PERFORMANCE_SCHEMA.TABLE_LOCK_WAITS_SUMMARY_BY_TABLE.

Definition at line 48 of file table_tlws_by_table.h.

Member Function Documentation

int table_tlws_by_table::read_row_values ( TABLE table,
unsigned char *  buf,
Field **  fields,
bool  read_all 
)
protectedvirtual

Read the current row values.

Parameters
tableTable handle
bufrow buffer
fieldsTable fields
read_alltrue if all columns are read.

Implements PFS_engine_table.

Definition at line 510 of file table_tlws_by_table.cc.

Here is the call graph for this function:

void table_tlws_by_table::reset_position ( void  )
virtual

Reset the cursor position to the beginning of the table.

Implements PFS_engine_table.

Definition at line 440 of file table_tlws_by_table.cc.

int table_tlws_by_table::rnd_init ( bool  scan)
virtual

Initialize table scan.

Reimplemented from PFS_engine_table.

Definition at line 446 of file table_tlws_by_table.cc.

Here is the call graph for this function:

int table_tlws_by_table::rnd_next ( )
virtual

Fetch the next row in this cursor.

Implements PFS_engine_table.

Definition at line 452 of file table_tlws_by_table.cc.

Here is the call graph for this function:

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

Fetch a row by position.

Parameters
posposition to fetch

Implements PFS_engine_table.

Definition at line 473 of file table_tlws_by_table.cc.

Here is the call graph for this function:

Member Data Documentation

PFS_engine_table_share table_tlws_by_table::m_share
static
Initial value:
{
{ C_STRING_WITH_LEN("table_lock_waits_summary_by_table") },
table_tlws_by_table::create,
NULL,
table_tlws_by_table::delete_all_rows,
NULL,
1000,
&m_table_lock,
&m_field_def,
false
}

Table share

Definition at line 52 of file table_tlws_by_table.h.


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