MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
KeyTable2C (ArrayPool< U > &pool) | |
Uint32 | get_count () const |
bool | seize (Ptr< T > &ptr) |
void | add (Ptr< T > &ptr) |
void | remove (Ptr< T > &ptr, const T &key) |
void | remove (Uint32 i) |
void | remove (Ptr< T > &ptr) |
void | removeAll () |
void | release (Ptr< T > &ptr, const T &key) |
void | release (Uint32 i) |
void | release (Ptr< T > &ptr) |
Public Member Functions inherited from KeyTable2< T, U > | |
KeyTable2 (ArrayPool< U > &pool) | |
bool | find (Ptr< T > &ptr, const T &rec) const |
bool | find (Ptr< T > &ptr, Uint32 key) const |
Public Member Functions inherited from DLHashTable2< T, U > | |
DLHashTable2 (ArrayPool< U > &thePool) | |
bool | setSize (Uint32 noOfElements) |
void | getPtr (Ptr< T > &, Uint32 i) const |
void | getPtr (Ptr< T > &) const |
T * | getPtr (Uint32 i) const |
void | getPtr (Iterator &iter) const |
bool | first (Iterator &iter) const |
bool | next (Iterator &iter) const |
bool | next (Uint32 bucket, Iterator &iter) const |
bool | isEmpty () const |
Definition at line 46 of file KeyTable2.hpp.
|
inline |
Add an object to the hashtable
Reimplemented from DLHashTable2< T, U >.
Definition at line 64 of file KeyTable2.hpp.
|
inline |
Remove element (and set Ptr to removed element) And return element to pool
Reimplemented from DLHashTable2< T, U >.
Definition at line 95 of file KeyTable2.hpp.
|
inline |
Remove element and return to pool
Reimplemented from DLHashTable2< T, U >.
Definition at line 104 of file KeyTable2.hpp.
|
inline |
Remove element and return to pool
Reimplemented from DLHashTable2< T, U >.
Definition at line 110 of file KeyTable2.hpp.
|
inline |
Remove element (and set Ptr to removed element) Note does not return to pool
Reimplemented from DLHashTable2< T, U >.
Definition at line 69 of file KeyTable2.hpp.
|
inline |
Remove element Note does not return to pool
Reimplemented from DLHashTable2< T, U >.
Definition at line 78 of file KeyTable2.hpp.
|
inline |
Remove element Note does not return to pool
Reimplemented from DLHashTable2< T, U >.
Definition at line 84 of file KeyTable2.hpp.
|
inline |
Remove all elements, but dont return them to pool
Reimplemented from DLHashTable2< T, U >.
Definition at line 90 of file KeyTable2.hpp.
|
inline |
Seize element from pool - return i
Note must be added using add (even before hash.release) or be released using pool
Reimplemented from DLHashTable2< T, U >.
Definition at line 55 of file KeyTable2.hpp.