Interface IResultRow
-
- All Known Implementing Classes:
RRow
public interface IResultRowThis interface allows immutable access to a resultset row.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsid
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColumnCount()Obtain the number of columns in the row.java.util.Iterator<java.lang.String>getColumns()Obtain the set of columns for a row.java.lang.ObjectgetValue(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<java.lang.String> 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.
-
-