Interface Row
- All Known Subinterfaces:
ExecIndexRow, ExecRow
- All Known Implementing Classes:
IndexRow, IndexValueRow, ValueRow
public interface Row
The Row interface provides methods to get information about the columns
in a result row.
It uses simple, position (1-based) access to get to columns.
Searching for columns by name should be done from the ResultSet
interface, where metadata about the rows and columns is available.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetColumn(int position) Get a DataValueDescriptor in a Row by ordinal position (1-based).intnColumns()voidsetColumn(int position, DataValueDescriptor value) Set a DataValueDescriptor in a Row by ordinal position (1-based).
-
Method Details
-
nColumns
int nColumns() -
getColumn
Get a DataValueDescriptor in a Row by ordinal position (1-based).- Parameters:
position- The ordinal position of the column.- Returns:
- The DataValueDescriptor, null if no such column exists
- Throws:
StandardException- Thrown on failure.
-
setColumn
Set a DataValueDescriptor in a Row by ordinal position (1-based).- Parameters:
position- The ordinal position of the column.
-