Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.31 The Object Class

Abstract

This class provides meta-information about database objects such as tables and indexes. Object subclasses model these and other database objects.

Parent class.  NdbDictionary

Child classes.  Datafile, Event, Index, LogfileGroup, Table, Tablespace, Undofile, HashMap, ForeignKey

Methods.  The following table lists the public methods of the Object class and the purpose or use of each method:

Table 2.66 Object class methods and descriptions

Name Description
getObjectId() Gets an object's ID
getObjectStatus() Gets an object's status
getObjectVersion() Gets the version of an object

Note

All 3 of these methods are pure virtual methods, and are reimplemented in the Table, Index, and Event subclasses where needed.

Types.  These are the public types of the Object class:

Table 2.67 Object class types and descriptions

Name Description
FragmentType Fragmentation type used by the object (a table or index)
State The object's state (whether it is usable)
Status The object's state (whether it is available)
Store Whether the object has been temporarily or permanently stored
Type The object's type (what sort of table, index, or other database object the Object represents)


User Comments
Sign Up Login You must be logged in to post a comment.