skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : dam_getFirstSchemaObject
 

dam_getFirstSchemaObject

This method is used to navigate through the items in the schema object list returned by dam_getSchemaObjectList. This method returns a schema object. Type cast to the type of objects contained in the list (schemaobj_table, schemaobj_column, schemaobj_stat or schemaobj_fkey).
Object dam_getFirstSchemaObject(long obj_list)
Table 180. Parameters for dam_getFirstSchemaObject
Parameter
Type
Description
INPUT
obj_list
long
The handle to the list of schema objects.
RETURN
Object
The Java schema object in the list. 0 is returned at the end of the list.
For example, to retrieve an object from a list of DAMOBJ_TYPE_TABLE objects:

schemaobj_table pTable =
(schemaobj_table)jOpenAccess SDK SQL jdam.dam_getFirstSchemaObject(obj_list)

See also

*dam_getSchemaObjectList