org.apache.manifoldcf.core.interfaces
Interface IResultRow

All Known Implementing Classes:
RRow

public interface IResultRow

This interface allows immutable access to a resultset row.


Field Summary
static java.lang.String _rcsid
           
 
Method Summary
 int getColumnCount()
          Obtain the number of columns in the row.
 java.util.Iterator getColumns()
          Obtain the set of columns for a row.
 java.lang.Object getValue(java.lang.String columnName)
          Get the row value for a column.
 

Field Detail

_rcsid

static final java.lang.String _rcsid
See Also:
Constant Field Values
Method Detail

getColumnCount

int getColumnCount()
Obtain the number of columns in the row.

Returns:
the number of columns that row contains.

getColumns

java.util.Iterator getColumns()
Obtain the set of columns for a row.

Returns:
an iterator that will list all the (String) column names stored in that row.

getValue

java.lang.Object getValue(java.lang.String columnName)
Get the row value for a column.

Parameters:
columnName - is the name of the column.
Returns:
the value, or null if not present.