public interface IResultSetRow extends java.lang.Iterable<IField>
Interface that provides the ability to consume a row of fields.
IQueryService queryService = ...
String query = "SELECT [Resource ID], [Name] FROM [SOXIssue]";
IQuery query = queryService.buildQuery(query);
// Execute query and fetch results.
ITabularResultSet resultset = query.fetchRows(0);
for (IResultSetRow row : resultset) {
// process each row...
for (IField field : row) {
// process each field...
}
}
| Modifier and Type | Method and Description |
|---|---|
IField |
getField(int columnIndex)
Directly access the value of the designated column in this IResultSetRow object as an IField object.
|
IField getField(int columnIndex)
columnIndex - (required) the index of the column to retrieve from the row. The first column is 0, the second is 1, ...OpenPagesException - if the columnIndex is not valid
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.