Package com.isomorphic.sql
 Class SQLTransform
java.lang.Object 
 com.isomorphic.sql.SQLTransform
 SQLTransform provides helper methods for converting java.sql.ResultSet objects to desired return data structures. See the DataSource Operations section of the client reference docs for a mapping of operationType to expected data structure.-  Method SummaryModifier and TypeMethodDescriptionstatic ListConverts all rows of aResultSetobject to return aListofMapobjects.static ListtoListOfMaps(ResultSet rs, long numRows) Converts aResultSetobject to return aListofMapobjects for the number of rows given bynumRows.
-  Method Details-  toListOfMapsConverts all rows of aResultSetobject to return aListofMapobjects.- Parameters:
- rs- object to be converted
- Returns:
- list containing the result as a map of name-value pairs
- Throws:
- SQLException- propagates any errors encountered in connecting to the data source
- Exception
 
-  toListOfMapsConverts aResultSetobject to return aListofMapobjects for the number of rows given bynumRows. This expanded signature is primarily useful if you're responding to a paged request.- Parameters:
- rs- object to be converted
- numRows- the number of rows to convert
- Returns:
- list containing the result as a java.util.Mapof name-value pairs
- Throws:
- SQLException- propagates any errors encountered in connecting to the data source
- Exception
 
 
-