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

Public Member Functions

 Type (int typeId, Uint32 byteSize, bool nullable, Uint32 csNumber)
void set (Uint32 typeId, Uint32 byteSize, bool nullable, Uint32 csNumber)
Uint32 get_type_id () const
Uint32 get_byte_size () const
bool get_nullable () const
Uint32 get_cs_number () const
Uint32 get_array_type () 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 Spec
class Iter
class DataC
class Data
NdbOut & operator<< (NdbOut &, const Type &)

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 131 of file NdbPack.hpp.


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