#include <NdbDictionary.hpp>
Type of fragmentation.
This parameter specifies how data in the table or index will be distributed among the db nodes in the cluster.
The bigger the table the more number of fragments should be used. Note that all replicas count as same "fragment".
For a table, default is FragAllMedium. For a unique hash index, default is taken from underlying table and cannot currently be changed.
Object state
Status of object
New | The object only exist in memory and has not been created in the NDB Kernel |
Changed | The object has been modified in memory and has to be commited in NDB Kernel for changes to take effect |
Retrieved | The object exist and has been read into main memory from NDB Kernel |
Invalid | The object has been invalidated and should not be used |
Altered | Table has been altered in NDB kernel but is still valid for usage |
Object type
TypeUndefined | Undefined. |
SystemTable | System table. |
UserTable | User table (may be temporary). |
UniqueHashIndex | Unique un-ordered hash index. |
OrderedIndex | Non-unique ordered index. |
HashIndexTrigger | Index maintenance, internal. |
IndexTrigger | Index maintenance, internal. |
SubscriptionTrigger | Backup or replication, internal. |
ReadOnlyConstraint | Trigger, internal. |
Tablespace | Tablespace. |
LogfileGroup | Logfile group. |
Datafile | Datafile. |
Undofile | Undofile. |
Reimplemented in NdbDictionary::NdbDictionary::Index.
virtual Status NdbDictionary::NdbDictionary::Object::getObjectStatus | ( | ) | const [pure virtual] |
Get status of object
Implemented in NdbDictionary::NdbDictionary::Table, NdbDictionary::NdbDictionary::Index, and NdbDictionary::NdbDictionary::Event.
virtual int NdbDictionary::NdbDictionary::Object::getObjectVersion | ( | ) | const [pure virtual] |
Get version of object
Implemented in NdbDictionary::NdbDictionary::Table, NdbDictionary::NdbDictionary::Index, and NdbDictionary::NdbDictionary::Event.