org.wso2.carbon.dataservices.sql.driver.processor.reader

## Class AbstractFixedDataReader

- java.lang.Object
- - org.wso2.carbon.dataservices.sql.driver.processor.reader.AbstractFixedDataReader

- All Implemented Interfaces:
    DataReader
  Direct Known Subclasses:
    ExcelDataReader, GSpreadDataReader

      public abstract class AbstractFixedDataReader
      extends Object
      implements DataReader

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractFixedDataReader(Connection connection)`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Connection` | `getConnection()`
    `Map<String,DataTable>` | `getData()`
    `DataTable` | `getDataTable(String name)`
    `abstract void` | `populateData()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractFixedDataReader

          public AbstractFixedDataReader(Connection connection)
                                  throws SQLException

      Throws:
        `SQLException`

  - ### Method Detail

    - #### populateData

          public abstract void populateData()
                                     throws SQLException

      Specified by:
        `populateData` in interface `DataReader`
      Throws:
        `SQLException`

    - #### getConnection

          public Connection getConnection()

    - #### getData

          public Map<String,DataTable> getData()

    - #### getDataTable

          public DataTable getDataTable(String name)
                                 throws SQLException

      Specified by:
        `getDataTable` in interface `DataReader`
      Throws:
        `SQLException`

Copyright © 2017 WSO2. All rights reserved.