|
MySQL 5.6.14 Source Code Document
|


Public Member Functions | |
| Data (const Spec &spec, bool allNullable, Uint32 varBytes) | |
| void | set_buf (void *buf, Uint32 bufMaxLen) |
| void | reset () |
| int | add (const void *data, Uint32 *len_out) |
| int | add (const void *data, Uint32 cnt, Uint32 *len_out) |
| int | add_null (Uint32 *len_out) |
| int | add_null (Uint32 cnt, Uint32 *len_out) |
| int | add_poai (const Uint32 *poai, Uint32 *len_out) |
| int | add_poai (const Uint32 *poai, Uint32 cnt, Uint32 *len_out) |
| int | finalize () |
| int | copy (const DataC &d2) |
| int | convert (Endian::Value to_endian) |
| int | desc_all (Uint32 cnt, Endian::Value from_endian) |
| Uint32 | get_max_len () const |
| Uint32 | get_max_len4 () const |
| Uint32 | get_var_bytes () const |
| const void * | get_full_buf () const |
| Uint32 | get_full_len () const |
| Uint32 | get_data_len () const |
| Uint32 | get_null_cnt () const |
| Endian::Value | get_endian () const |
| void | print (NdbOut &out) const |
| const char * | print (char *buf, Uint32 bufsz) const |
| int | validate () const |
Public Member Functions inherited from NdbPack::DataC | |
| DataC (const Spec &spec, bool allNullable) | |
| void | set_buf (const void *buf, Uint32 bufMaxLen, Uint32 cnt) |
| int | desc (Iter &r) const |
| int | cmp (const DataC &d2, Uint32 cnt, Uint32 &num_eq) const |
| const Spec & | get_spec () const |
| bool | get_all_nullable () const |
| const void * | get_data_buf () const |
| Uint32 | get_cnt () const |
| bool | is_empty () const |
| bool | is_full () const |
| const char * | print (char *buf, Uint32 bufsz, bool convert_flag=false) const |
Public Member Functions inherited from NdbPack::Error | |
| int | get_error_code () const |
| int | get_error_line () const |
Friends | |
| class | Iter |
| class | Bound |
| NdbOut & | operator<< (NdbOut &, const Data &) |
Additional Inherited Members | |
Public Types inherited from NdbPack::Error | |
| enum | { TypeNotSet = -101, TypeOutOfRange = -102, TypeNotSupported = -103, TypeSizeZero = -104, TypeFixSizeInvalid = -105, TypeNullableNotBool = -106, CharsetNotSpecified = -107, CharsetNotFound = -108, CharsetNotAllowed = -109, SpecBufOverflow = -201, DataCntOverflow = -301, DataBufOverflow = -302, DataValueOverflow = -303, DataNotNullable = -304, InvalidAttrInfo = -305, BoundEmptySide = -401, BoundNonemptySide = -402, InternalError = -901, ValidationError = -902, NoError = 0 } |
Definition at line 308 of file NdbPack.hpp.