2.3.30 The Object Class

2.3.30.1 Object Class Enumerated Types
2.3.30.2 Object Methods

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:

MethodPurpose / Use
getObjectId()Gets an object's ID
getObjectStatus()Gets an object's status
getObjectVersion()Gets the version of an object

For a detailed discussion of each of these methods, see Section 2.3.30.2, “Object Methods”.

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

TypePurpose / Use
FragmentTypeFragmentation type used by the object (a table or index)
StateThe object's state (whether it is usable)
StatusThe object's state (whether it is available)
StoreWhether the object has been temporarily or permanently stored
TypeThe object's type (what sort of table, index, or other database object the Object represents)

For a discussion of each of these types, along with its possible values, see Section 2.3.30.1, “Object Class Enumerated Types”.

This diagram shows all public members of the Object class:

Public members of the Object class.

For a visual representation of Object's subclasses, see Section 2.3.18, “The NdbDictionary Class”.