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

Public Member Functions

void set_buf (Type *buf, Uint32 bufMaxCnt)
void set_buf (Type *buf)
void reset ()
int add (Type type)
int add (Type type, Uint32 cnt)
void copy (const Spec &s2)
const Typeget_type (Uint32 i) const
Uint32 get_cnt () const
Uint32 get_nullable_cnt (bool allNullable) const
Uint32 get_nullmask_len (bool allNullable) const
Uint32 get_max_data_len (bool allNullable) const
Uint32 get_min_var_bytes (bool allNullable) const
void print (NdbOut &out) const
const char * print (char *buf, Uint32 bufsz) const
int validate () const
- Public Member Functions inherited from NdbPack::Error
int get_error_code () const
int get_error_line () const

Friends

class Iter
class DataC
class Data
class BoundC
NdbOut & operator<< (NdbOut &, const Spec &)

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
}

Detailed Description

Definition at line 174 of file NdbPack.hpp.


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