Public Types | 
| enum   | { MaxKeyCount =  MAX_INDEX_STAT_KEY_COUNT
 } | 
| enum   | { MaxKeyBytes =  MAX_INDEX_STAT_KEY_SIZE * 4
 } | 
| enum   | { MaxValueBytes =  MAX_INDEX_STAT_VALUE_SIZE * 4
 } | 
| enum   | { MaxValueCBytes =  MAX_INDEX_STAT_VALUE_CSIZE * 4
 } | 
| 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 | 
| 
  | NdbIndexStatImpl (NdbIndexStat &facade) | 
| 
void  | init () | 
| 
void  | sys_release (Sys &sys) | 
| 
int  | make_headtable (NdbDictionary::Table &tab) | 
| 
int  | make_sampletable (NdbDictionary::Table &tab) | 
| 
int  | make_sampleindex1 (NdbDictionary::Index &ind) | 
| 
int  | check_table (const NdbDictionary::Table &tab1, const NdbDictionary::Table &tab2) | 
| 
int  | check_index (const NdbDictionary::Index &ind1, const NdbDictionary::Index &ind2) | 
| 
int  | get_systables (Sys &sys) | 
| 
int  | create_systables (Ndb *ndb) | 
| 
int  | drop_systables (Ndb *ndb) | 
| 
int  | check_systables (Sys &sys) | 
| 
int  | check_systables (Ndb *ndb) | 
| 
int  | set_index (const NdbDictionary::Index &index, const NdbDictionary::Table &table) | 
| 
void  | reset_index () | 
| 
void  | init_head (Head &head) | 
| 
int  | sys_init (Con &con) | 
| 
void  | sys_release (Con &con) | 
| 
int  | sys_read_head (Con &con, bool commit) | 
| 
int  | sys_head_setkey (Con &con) | 
| 
int  | sys_head_getvalue (Con &con) | 
| 
int  | sys_sample_setkey (Con &con) | 
| 
int  | sys_sample_getvalue (Con &con) | 
| 
int  | sys_sample_setbound (Con &con, int sv_bound) | 
| 
int  | update_stat (Ndb *ndb, Head &head) | 
| 
int  | delete_stat (Ndb *ndb, Head &head) | 
| 
int  | read_head (Ndb *ndb, Head &head) | 
| 
int  | read_stat (Ndb *ndb, Head &head) | 
| 
int  | read_start (Con &con) | 
| 
int  | read_next (Con &con) | 
| 
int  | read_commit (Con &con) | 
| 
int  | save_start (Con &con) | 
| 
int  | save_next (Con &con) | 
| 
int  | save_commit (Con &con) | 
| 
int  | cache_init (Con &con) | 
| 
int  | cache_insert (Con &con) | 
| 
int  | cache_commit (Con &con) | 
| 
int  | cache_cmpaddr (const Cache &c, uint addr1, uint addr2) const  | 
| 
int  | cache_cmppos (const Cache &c, uint pos1, uint pos2) const  | 
| 
int  | cache_sort (Cache &c) | 
| 
void  | cache_isort (Cache &c) | 
| 
void  | cache_hsort (Cache &c) | 
| 
void  | cache_hsort_sift (Cache &c, int i, int count) | 
| 
void  | cache_hsort_verify (Cache &c, int count) | 
| 
int  | cache_verify (const Cache &c) | 
| 
void  | move_cache () | 
| 
void  | clean_cache () | 
| 
void  | free_cache (Cache *c) | 
| 
void  | free_cache () | 
| 
int  | dump_cache_start (CacheIter &iter) | 
| 
bool  | dump_cache_next (CacheIter &iter) | 
| 
int  | finalize_bound (Bound &) | 
| 
int  | finalize_range (Range &range) | 
| 
int  | convert_range (Range &range, const NdbRecord *key_record, const NdbIndexScanOperation::IndexBound *ib) | 
| 
void  | query_normalize (const Cache &, StatValue &) | 
| 
void  | query_unq2rpk (const Cache &, StatValue &) | 
| 
int  | query_stat (const Range &, Stat &) | 
| 
void  | query_interpolate (const Cache &, const Range &, Stat &) | 
| 
void  | query_interpolate (const Cache &, const Bound &, StatBound &) | 
| 
void  | query_search (const Cache &, const Bound &, StatBound &) | 
| 
int  | query_keycmp (const Cache &, const Bound &, uint pos, Uint32 &numEq) | 
| 
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) | 
| 
const NdbIndexStat::Error &  | getNdbError () const  | 
| 
void  | setError (int code, int line, int extra=0) | 
| 
void  | setError (const Con &con, int line) | 
| 
void  | mapError (const int *map, int code) | 
| 
int  | alloc_cache (Uint32 entries) | 
| 
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  | update_stat (Ndb *ndb) | 
| 
int  | delete_stat (Ndb *ndb) | 
| 
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) | 
| 
void  | reset_range (Range &range) | 
| 
void  | set_mem_handler (Mem *mem) | 
| 
NdbIndexStatImpl &  | getImpl () | 
Definition at line 39 of file NdbIndexStatImpl.hpp.