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

dam_getNextSchemaObject

This method is used to navigate through the items in the schema object list returned by the dam_getSchemaObjectList method. This method returns the Java schema object. It should be type cast to the type of objects contained in the list (schemaobj_table, schemaobj_column, schemaobj_stat, or schemaobj_fkey).
Object dam_getNextSchemaObject(long obj_list)
Table 202. Parameters for dam_getNextSchemaObject
Parameter
Type
Description
INPUT
obj_list
long
The handle to the list of schema objects.
RETURN
Object
The Java schema object in the list. A NULL 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_getNextSchemaObject(obj_list)