com.simba.dsi.ext
Interface IMetadataHelper


public interface IMetadataHelper

An interface that allows access to the list of tables and stored procedures in a data source. These lists are then used to open the tables and stored procedures, from which the catalog metadata is generated. Note that this class is optional and that if a DSII provides an implementation of any metadata source, it will be used instead of the default one.


Method Summary
 boolean getNextProcedure(Identifier procedure)
          Get the next stored procedure in the data source.
 boolean getNextTable(Identifier table)
          Get the next table in the data source.
 

Method Detail

getNextProcedure

boolean getNextProcedure(Identifier procedure)
Get the next stored procedure in the data source. When this function is first called it should return the first procedure in the data source, and on each successive call it should return the next procedure. When there are no more procedures, it should return false.

Parameters:
procedure - The class to fill with information about the next stored procedure.
Returns:
true if there was another stored procedure; false otherwise.

getNextTable

boolean getNextTable(Identifier table)
Get the next table in the data source. When this function is first called it should return the first table in the data source, and on each successive call it should return the next table. When there are no more tables, it should return false.

Parameters:
table - The class to fill with information about the next table.
Returns:
true if there was another table; false otherwise.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.