Tuscany DAS for Relational Databases

org.apache.tuscany.das.rdb.graphbuilder.impl
Class ResultSetRow

java.lang.Object
  extended by org.apache.tuscany.das.rdb.graphbuilder.impl.ResultSetRow

public class ResultSetRow
extends java.lang.Object

A ResultSetRow is used to transform a single row of a ResultSet into a set of EDataObjects.


Constructor Summary
ResultSetRow(java.sql.ResultSet rs, ResultMetadata m)
          Method ResultSetRow.
 
Method Summary
 java.util.ArrayList getAllTableData()
           
 TableData getTable(java.lang.String tableName)
          Returns a HashMap that holds data for the specified table
 void processRecursiveRow(java.sql.ResultSet rs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetRow

public ResultSetRow(java.sql.ResultSet rs,
                    ResultMetadata m)
             throws java.sql.SQLException
Method ResultSetRow.

Parameters:
rs - A ResultSet positioned on the desired row
ePackage - The package used to create EDataObjects
Throws:
java.sql.SQLException
Method Detail

processRecursiveRow

public void processRecursiveRow(java.sql.ResultSet rs)
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

getTable

public TableData getTable(java.lang.String tableName)
Returns a HashMap that holds data for the specified table

Parameters:
tableName - The name of the table
Returns:
HashMap

getAllTableData

public java.util.ArrayList getAllTableData()

Tuscany DAS for Relational Databases

-