MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NdbIndexStat Class Reference
Inheritance diagram for NdbIndexStat:

Classes

struct  Bound
struct  CacheInfo
struct  Error
struct  Head
struct  Mem
struct  Range
struct  Stat

Public Types

enum  { RR_UseDb = 1, RR_NoUpdate = 2 }
enum  {
  NoSysTables = 4714, NoIndexStats = 4715, UsageError = 4716, NoMemError = 4717,
  InvalidCache = 4718, InternalError = 4719, BadSysTables = 4720, HaveSysTables = 4244,
  NoSysEvents = 4710, BadSysEvents = BadSysTables, HaveSysEvents = 746
}
enum  CacheType { CacheBuild = 1, CacheQuery = 2, CacheClean = 3 }
enum  { BoundBufferBytes = 8192 }
enum  { StatBufferBytes = 2048 }
enum  { RuleBufferBytes = 80 }

Public Member Functions

int alloc_cache (Uint32 entries)
const ErrorgetNdbError () const
int records_in_range (const NdbDictionary::Index *index, NdbTransaction *trans, const NdbRecord *key_record, const NdbRecord *result_record, const NdbIndexScanOperation::IndexBound *ib, Uint64 table_rows, Uint64 *count, int flags)
int create_systables (Ndb *ndb)
int drop_systables (Ndb *ndb)
int check_systables (Ndb *ndb)
int set_index (const NdbDictionary::Index &index, const NdbDictionary::Table &table)
void reset_index ()
int update_stat (Ndb *ndb)
int delete_stat (Ndb *ndb)
void move_cache ()
void clean_cache ()
void get_cache_info (CacheInfo &info, CacheType type) const
void get_head (Head &head) const
int read_head (Ndb *ndb)
int read_stat (Ndb *ndb)
int add_bound (Bound &bound, const void *value)
int add_bound_null (Bound &bound)
void set_bound_strict (Bound &bound, int strict)
void reset_bound (Bound &bound)
int finalize_range (Range &range)
void reset_range (Range &range)
int convert_range (Range &range, const NdbRecord *key_record, const NdbIndexScanOperation::IndexBound *ib)
int query_stat (const Range &range, Stat &stat)
int create_sysevents (Ndb *ndb)
int drop_sysevents (Ndb *ndb)
int check_sysevents (Ndb *ndb)
int create_listener (Ndb *ndb)
int execute_listener (Ndb *ndb)
int poll_listener (Ndb *ndb, int max_wait_ms)
int next_listener (Ndb *ndb)
int drop_listener (Ndb *ndb)
void set_mem_handler (Mem *mem)
NdbIndexStatImplgetImpl ()

Static Public Member Functions

static void get_empty (const Stat &stat, bool *empty)
static void get_rir (const Stat &stat, double *rir)
static void get_rpk (const Stat &stat, Uint32 k, double *rpk)
static void get_rule (const Stat &stat, char *buffer)

Friends

class NdbIndexStatImpl

Detailed Description

Definition at line 39 of file NdbIndexStat.hpp.


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