MySQL 5.6.14 Source Code Document
|
Classes | |
struct | ConstDataBufferIterator |
struct | DataBufferIterator |
struct | Head |
struct | HeadPOD |
struct | Segment |
Public Types | |
typedef Pool | DataBufferPool |
typedef DataBufferIterator | Iterator |
Public Member Functions | |
DataBuffer2 (DataBufferPool &) | |
bool | seize (Uint32 n) |
void | release () |
Uint32 | getSize () const |
bool | isEmpty () const |
void | print (FILE *) const |
bool | first (DataBufferIterator &) |
bool | next (DataBufferIterator &) |
bool | next (DataBufferIterator &, Uint32 hops) |
bool | nextPool (DataBufferIterator &) |
bool | position (DataBufferIterator &it, Uint32 pos) |
bool | first (ConstDataBufferIterator &) const |
bool | next (ConstDataBufferIterator &) const |
bool | next (ConstDataBufferIterator &, Uint32 hops) const |
bool | nextPool (ConstDataBufferIterator &) const |
bool | importable (const DataBufferIterator, Uint32 len) |
bool | import (const DataBufferIterator &, const Uint32 *src, Uint32 len) |
bool | append (const Uint32 *src, Uint32 len) |
Static Public Member Functions | |
static Uint32 | getSegmentSize () |
static void | createRecordInfo (Record_info &ri, Uint32 type_id) |
Protected Attributes | |
Head | head |
DataBufferPool & | thePool |
Definition at line 28 of file DataBuffer2.hpp.
|
inline |
Constructor
Definition at line 322 of file DataBuffer2.hpp.
|
inline |
Increases size with appends len words
Definition at line 271 of file DataBuffer2.hpp.
|
inline |
Iterator hops Number of words to jump forward
Definition at line 441 of file DataBuffer2.hpp.
|
inline |
Iterator
Definition at line 474 of file DataBuffer2.hpp.
|
inlinestatic |
Get segment size in words (template argument)
Definition at line 434 of file DataBuffer2.hpp.
|
inline |
Get size of databuffer, in words
Definition at line 563 of file DataBuffer2.hpp.
|
inline |
Stores len no of words starting at location src in databuffer at position given in iterator.
Definition at line 234 of file DataBuffer2.hpp.
|
inline |
Returns true if it is possible to store len no of words at position given in iterator.
Definition at line 213 of file DataBuffer2.hpp.
|
inline |
Check if buffer is empty
Definition at line 570 of file DataBuffer2.hpp.
|
inline |
Set iterator to position
Definition at line 219 of file DataBuffer2.hpp.
|
inline |
Seize n words, Release
Definition at line 328 of file DataBuffer2.hpp.