| 
    MySQL 5.6.14 Source Code Document
    
   | 
 
#include <Ndb.hpp>

Public Types | |
| enum | SpecType { PS_NONE = 0, PS_USER_DEFINED = 1, PS_DISTR_KEY_PART_PTR = 2, PS_DISTR_KEY_RECORD = 3 } | 
Public Attributes | |
| Uint32 | type | 
| union { | |
| struct { | |
| Uint32 partitionId | |
| } UserDefined | |
| struct { | |
| const Key_part_ptr * tableKeyParts | |
| void * xfrmbuf | |
| Uint32 xfrmbuflen | |
| } KeyPartPtr | |
| struct { | |
| const NdbRecord * keyRecord | |
| const char * keyRow | |
| void * xfrmbuf | |
| Uint32 xfrmbuflen | |
| } KeyRecord | |
| }; | |
Structure for describing a table partition in terms of either
PS_NONE No partitioning info provided.
PS_USER_DEFINED A specific partition id for a table with user defined partitioning
PS_DISTR_KEY_PART_PTR An array of a table's distribution key values for a table with native partitioning.
PS_DISTR_KEY_RECORD A row in given NdbRecord format containing a natively partitioned table's distribution key values