Public Member Functions | Protected Member Functions | Protected Attributes

Zend_Db_Adapter_Pdo_Ibm_Ids Class Reference

Public Member Functions

 __construct ($adapter)
 listTables ()
 describeTable ($tableName, $schemaName=null)
 limit ($sql, $count, $offset=0)
 lastSequenceId ($sequenceName)
 nextSequenceId ($sequenceName)

Protected Member Functions

 _getDataType ($typeNo)
 _getPrimaryInfo ($tabid)

Protected Attributes

 $_adapter = null

Detailed Description

Definition at line 38 of file Ids.php.


Constructor & Destructor Documentation

__construct ( adapter )

Construct the data server class.

It will be used to generate non-generic SQL for a particular data server

Parameters:
Zend_Db_Adapter_Abstract$adapter

Definition at line 53 of file Ids.php.


Member Function Documentation

_getDataType ( typeNo ) [protected]

Map number representation of a data type to a string

Parameters:
int$typeNo
Returns:
string

Definition at line 161 of file Ids.php.

_getPrimaryInfo ( tabid ) [protected]

Helper method to retrieve primary key column and column location

Parameters:
int$tabid
Returns:
array

Definition at line 205 of file Ids.php.

describeTable ( tableName,
schemaName = null 
)

IDS catalog lookup for describe table

Parameters:
string$tableName
string$schemaNameOPTIONAL
Returns:
array

The ordering of columns is defined by the query so we can map to variables to improve readability

Definition at line 78 of file Ids.php.

lastSequenceId ( sequenceName )

IDS-specific last sequence id

Parameters:
string$sequenceName
Returns:
integer

Definition at line 280 of file Ids.php.

limit ( sql,
count,
offset = 0 
)

Adds an IDS-specific LIMIT clause to the SELECT statement.

Parameters:
string$sql
integer$count
integer$offsetOPTIONAL
Exceptions:
Zend_Db_Adapter_Exception
Returns:
string

See also:
Zend_Db_Adapter_Exception
Zend_Db_Adapter_Exception

Definition at line 248 of file Ids.php.

listTables (  )

Returns a list of the tables in the database.

Returns:
array

Definition at line 63 of file Ids.php.

nextSequenceId ( sequenceName )

IDS-specific sequence id value

Parameters:
string$sequenceName
Returns:
integer

Definition at line 294 of file Ids.php.


The documentation for this class was generated from the following file: