All Packages Class Hierarchy This Package Previous Next Index
Interface com.imaginary.sql.msql.ParsedRow
- public interface ParsedRow
Uniform interface for any object representing a row parsed from
the database. Other classes in the package concretely define
actual rows by implementing this interface.
Last modified $Date: 1999/07/09 23:16:40 $
- Version:
- $Revision: 1.1.2.1 $
- Author:
- George Reese (borg@imaginary.com)
-
columns()
- Provides an iterator that lets a class run through each of the
column values.
-
get(int)
- Provides a specific column value.
-
hasColumn(int)
- Lets you know if the specified column exists.
-
set(int, String)
- Assigns a new value to the specified column.
-
size()
-
columns
public abstract Iterator columns() throws SQLException
- Provides an iterator that lets a class run through each of the
column values.
- Returns:
- the iterator of column values
get
public abstract String get(int col) throws SQLException
- Provides a specific column value.
- Parameters:
- col - the desired column
- Returns:
- the value for the specified column
hasColumn
public abstract boolean hasColumn(int col) throws SQLException
- Lets you know if the specified column exists.
- Parameters:
- col - the desired column number
- Returns:
- true if the column exists, false otherwise
set
public abstract void set(int col,
String val) throws SQLException
- Assigns a new value to the specified column.
- Parameters:
- col - the col to be modified
- val - the new value for the column
size
public abstract int size() throws SQLException
- Returns:
- the number of columns in the row
All Packages Class Hierarchy This Package Previous Next Index