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

#include <cursor_by_user.h>

Inheritance diagram for cursor_by_user:
Collaboration diagram for cursor_by_user:

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

 cursor_by_user (const PFS_engine_table_share *share)
virtual void make_row (PFS_user *user)=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)

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)
- 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

Cursor CURSOR_BY_USER.

Definition at line 34 of file cursor_by_user.h.

Member Function Documentation

void cursor_by_user::reset_position ( void  )
virtual

Reset the cursor position to the beginning of the table.

Implements PFS_engine_table.

Definition at line 30 of file cursor_by_user.cc.

int cursor_by_user::rnd_next ( )
virtual

Fetch the next row in this cursor.

Implements PFS_engine_table.

Definition at line 36 of file cursor_by_user.cc.

Here is the call graph for this function:

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

Fetch a row by position.

Parameters
posposition to fetch

Implements PFS_engine_table.

Definition at line 57 of file cursor_by_user.cc.

Here is the call graph for this function:


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