com.ibm.openpages.api.application

## Interface ICognosReportRowReader

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

      public interface ICognosReportRowReader
      extends java.lang.Iterable<ICognosReportRow>

  Provides access to the output of a Cognos report in a tabular format. The report output can be read row by row, with the values for each column parsed and consumed as a native Java object type. Provides metadata from Cognos reports including the output format, such as column name and data types.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<java.lang.String,java.lang.String>` | `getOutputMetaData()` Gets the metadata that describes the column values in the report output as provided by the report output format.

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

      `forEach, iterator, spliterator`

- - ### Method Detail

    - #### getOutputMetaData

          java.util.Map<java.lang.String,java.lang.String> getOutputMetaData()

      Gets the metadata that describes the column values in the report output as provided by the report output format. The returned Map contains column names as keys and data types as values. Based on the data types, `ICognosReportColumnValue.getValue()` will return a different Java Object representation of the value.
      Returns:
        Map containing column names and data types as provided by Cognos output format

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.