com.ibm.openpages.api.query

## Interface ITabularResultSet

- All Superinterfaces:
    java.lang.Iterable<IResultSetRow>

      public interface ITabularResultSet
      extends java.lang.Iterable<IResultSetRow>

  Interface that provides the ability to consume a result set using rows.

       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...
           }
       }

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Iterable<IPage>` | `getPages()` Returns pages of rows.

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, iterator, spliterator`

- - ### Method Detail

    - #### getPages

          java.lang.Iterable<IPage> getPages()

      Returns pages of rows. The page size is controled by the page size specified in the IQuery.
      Returns:
        pages of rows

Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2021. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.