Class Row

Description

A Row contains the row contents from a ResultTable. Its methods provide access to the data returned in a ResultTable.

OSID Version: 2.0

Licensed under the org.osid.SidImplementationLicenseMIT.

Located in /harmoni/oki2/osid/sql/Row.php (line 18)


	
			
Method Summary
object mixed getColumnByIndex (mixed $columnIndex, int $columnIndex )
object mixed getColumnByName (mixed $columnName, string $columnName )
Methods
getColumnByIndex (line 41)

retrieve data from the column specified by index. This method uses the standard sql convention of the first column has an index of 1.

  • return: (original type: java.io.Serializable)
  • access: public
  • throws: object SqlException An exception with one of the following messages defined in org.osid.sql.SqlException may be thrown: DATA_RETRIEVAL_ERROR, INVALID_COLUMN_INDEX, OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object mixed getColumnByIndex (mixed $columnIndex, int $columnIndex )
  • int $columnIndex
getColumnByName (line 64)

retrieve data from the column specified by name

  • return: (original type: java.io.Serializable)
  • access: public
  • throws: object SqlException An exception with one of the following messages defined in org.osid.sql.SqlException may be thrown: DATA_RETRIEVAL_ERROR, OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object mixed getColumnByName (mixed $columnName, string $columnName )
  • string $columnName
getColumns (line 85)

return the columns associated with this Row.

  • access: public
  • throws: object SqlException An exception with one of the following messages defined in org.osid.sql.SqlException may be thrown: DATA_RETRIEVAL_ERROR, OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object ObjectIterator getColumns ()

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