#mobile-application-10-DerbyApp-build-iphone-Classes-PlausibleDatabase-PLResultSet.h / h
Represents a set of results returned by an SQL query. @par Thread Safety PLResultSet instances implement no locking and must not be shared between threads without external synchronization.
Move the result cursor to the next available row. If no further rows are available, returns NO.
returns: YES if the cursor was moved to the next row, NO if no further rows were available.
Close the result set, and return any held database resources. After calling, no further PLResultSet methods may be called on the instance. As PLResultSet objects may be placed into autorelease pools, with indeterminate release of database resources, this method should be used to ensure that the database connection remains usable once finished with a result set. Failure to call close will not result in any memory leaks, but may prevent further use of the database connection (until the result set is released).
Map the given column name to a column index. Will throw NSException if the column name is unknown.
parameter: name Name of the column.
returns: Returns the index of the column name, or throws an NSException if the column can not be found.
Return the integer value of the given column index from the current result row. Will throw NSException if the column index is out of range, or if the column value is NULL.
Return the integer value of the named column from the current result row. Will throw NSException if the column name is unknown, or if the column value is NULL.
Return the string value of the given column index from the current result row. Will throw NSException if the column index is out of range, or if the column value is NULL.
Return the string value of the named column from the current result row. Will throw NSException if the column name is unknown, or if the column value is NULL.
Returns the 64 bit big integer (long) value of the given column index the current result row. Will throw NSException if the column index is out of range, or if the column value is NULL.
Returns the 64 bit big integer (long) value of the named column from the current result row. Will throw NSException if the column name is unknown, or if the column value is NULL.
Returns YES if the value of the given column index is NULL, NO otherwise. Will throw NSException if the column index is out of range.
Returns YES if the value of the named column is NULL, NO otherwise. Will throw NSException if the column index is out of range.
Returns the BOOL value of the named column from the current result row. Will throw NSException if the column name is unknown, or if the column value is NULL.
Returns the BOOL value of the given column index from the current result row. Will throw NSException if the column index is out of range, or if the column value is NULL.
Returns the float value of the named column from the current result row. Will throw NSException if the column name is unknown, or if the column value is NULL.
Returns the float value of the given column index from the current result row. Will throw NSException if the column index is out of range, or if the column value is NULL.
Returns the double value of the named column from the current result row. Will throw NSException if the column name is unknown, or if the column value is NULL.
Returns the double value of the given column index from the current result row. Will throw NSException if the column index is out of range, or if the column value is NULL.
Returns the NSDate value of the named column from the current result row. Will throw NSException if the column name is unknown, or if the column value is NULL.
Returns the NSDate value of the given column index from the current result row. Will throw NSException if the column index is out of range, or if the column value is NULL.
Returns the NSData value of the named column from the current result row. Will throw NSException if the column name is unknown, or if the column value is NULL.
Returns the NSData value of the given column index from the current result row. Will throw NSException if the column index is out of range, or if the column value is NULL.
Return the value of the named column as a Foundation Objective-C object, using the database driver's built-in SQL and Foundation data-type mappings. Will throw NSException if the column name is unknown, or if the column value is NULL.
parameter: columnName Name of column value to return.
Return the value of the named column as a Foundation Objective-C object, using the database driver's built-in SQL and Foundation data-type mappings. Will throw NSException if the column index is out of range, or if the column value is NULL.
parameter: columnIndex Index of column value to return.
(C) Æliens 04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.