#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 | |
| }; | |
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
| union { ... } |
| struct { ... } Ndb::PartitionSpec::KeyPartPtr |
| struct { ... } Ndb::PartitionSpec::KeyRecord |
| const NdbRecord* Ndb::PartitionSpec::keyRecord |
| const char* Ndb::PartitionSpec::keyRow |
| Uint32 Ndb::PartitionSpec::type |
| struct { ... } Ndb::PartitionSpec::UserDefined |
Based on MySQL Cluster 7.0.7.
This page is for information only and is not maintained by MySQL or Sun Microsystems - use at your own risk. For an upto date view of the API refer to the header files included with your MySQL Cluster distribution or check the MySQL Cluster API Developer Guide.