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

java.lang.Object
  extended by org.wso2.carbon.dataservices.sql.driver.processor.reader.CustomDataReader
All Implemented Interfaces:
DataReader

public class CustomDataReader
extends Object
implements DataReader

This class represents a data reader class for a custom data source.


Constructor Summary
CustomDataReader(Connection connection)
           
 
Method Summary
 TCustomConnection.CustomDataSource getDataSource()
           
 DataTable getDataTable(String name)
           
 void populateData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomDataReader

public CustomDataReader(Connection connection)
                 throws SQLException
Throws:
SQLException
Method Detail

getDataSource

public TCustomConnection.CustomDataSource getDataSource()

populateData

public void populateData()
                  throws SQLException
Specified by:
populateData in interface DataReader
Throws:
SQLException

getDataTable

public DataTable getDataTable(String name)
                       throws SQLException
Specified by:
getDataTable in interface DataReader
Throws:
SQLException


Copyright © 2015 WSO2. All rights reserved.