Documentation Home
MySQL NDB Cluster API Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 3.7Mb
PDF (A4) - 3.7Mb


2.3.4 The Element Structure

This section provides information about theElement structure.

Parent class

List

Description

TheElement structure models an element of a list; it is used to store an object in aList populated by theDictionary methodslistObjects(),listIndexes(), andlistEvents().

Attributes

AnElement has the attributes shown in the following table:

Table 2.13 Name, type, initial value, and description of Element structure attributes

AttributeTypeInitial ValueDescription
idunsigned int0The object's ID
typeObject::TypeObject::TypeUndefinedThe object's type—seeObject::Type for possible values
stateObject::StateObject::StateUndefinedThe object's state—seeObject::State for possible values
storeObject::StoreObject::StoreUndefinedHow the object is stored—seeObject::Store for possible values
databasechar*0The database in which the object is found
schemachar*0The schema in which the object is found
namechar*0The object's name