Class OracleGenericQueryResult

Description

The GenericQueryResult interface provides methods for accessing the results of a generic query. These results can be returned as if they were one of the other query types, or the resource links can be returned and accessed directly.

  • version: $Id: OracleGenericQueryResult.class.php,v 1.9 2007/09/04 20:25:19 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College

Located in /harmoni/core/DBHandler/Oracle/OracleGenericQueryResult.class.php (line 26)

QueryResultInterface
   |
   --GenericQueryResultInterface
      |
      --OracleGenericQueryResult
Variable Summary
mixed $_linkId
integer $_resourceId
Method Summary
OracleGenericQueryResult OracleGenericQueryResult (integer $resourceId, integer $linkId)
integer getResourceId ()
object DeleteQueryResult returnAsDeleteQueryResult ()
object InsertQueryResult returnAsInsertQueryResult ()
object SelectQueryResult returnAsSelectQueryResult ()
object UpdateQueryResult returnAsUpdateQueryResult ()
Variables
mixed $_linkId (line 45)

The link identifier for the database connection.

The link identifier for the database connection.

  • access: private
integer $_resourceId (line 36)

The resource id for this SELECT query.

The resource id for this SELECT query.

  • var: The resource id for this SELECT query.
  • access: private
Methods
Constructor OracleGenericQueryResult (line 55)

Constructor

  • since: 7/2/04
  • access: public
OracleGenericQueryResult OracleGenericQueryResult (integer $resourceId, integer $linkId)
  • integer $resourceId: The resource id for this SELECT query.
  • integer $linkId: The link identifier for the database connection.
getResourceId (line 77)

Returns the resource id for this SELECT query.

Returns the resource id for this SELECT query. The resource id is returned by the Oracle_query() function.

  • return: The resource id for this SELECT query.
  • access: public
integer getResourceId ()

Redefinition of:
GenericQueryResultInterface::getResourceId()
Returns the resource id for this SELECT query.
returnAsDeleteQueryResult (line 124)

Returns the result of the query as a DeleteQueryResult.

  • since: 7/1/04
  • access: public
object DeleteQueryResult returnAsDeleteQueryResult ()

Redefinition of:
GenericQueryResultInterface::returnAsDeleteQueryResult()
Returns the result of the query as a DeleteQueryResult.
returnAsInsertQueryResult (line 100)

Returns the result of the query as an InsertQueryResult.

  • since: 7/1/04
  • access: public
object InsertQueryResult returnAsInsertQueryResult ()

Redefinition of:
GenericQueryResultInterface::returnAsInsertQueryResult()
Returns the result of the query as an InsertQueryResult.
returnAsSelectQueryResult (line 88)

Returns the result of the query as a SelectQueryResult.

  • since: 7/1/04
  • access: public
object SelectQueryResult returnAsSelectQueryResult ()

Redefinition of:
GenericQueryResultInterface::returnAsSelectQueryResult()
Returns the result of the query as a SelectQueryResult.
returnAsUpdateQueryResult (line 112)

Returns the result of the query as a UpdateQueryResult.

  • since: 7/1/04
  • access: public
object UpdateQueryResult returnAsUpdateQueryResult ()

Redefinition of:
GenericQueryResultInterface::returnAsUpdateQueryResult()
Returns the result of the query as a UpdateQueryResult.

Inherited Methods

Inherited From GenericQueryResultInterface

GenericQueryResultInterface::getResourceId()
GenericQueryResultInterface::returnAsDeleteQueryResult()
GenericQueryResultInterface::returnAsInsertQueryResult()
GenericQueryResultInterface::returnAsSelectQueryResult()
GenericQueryResultInterface::returnAsUpdateQueryResult()

Inherited From QueryResultInterface

QueryResultInterface::getNumberOfRows()

Documentation generated on Wed, 19 Sep 2007 10:25:19 -0400 by phpDocumentor 1.3.0RC3