Package com.inductiveautomation.rm.base
Class RMSQLUtils
java.lang.Object
com.inductiveautomation.rm.base.RMSQLUtils
Utility methods for ResultSet.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
RMSQLUtilspublic RMSQLUtils()
 
- 
- 
Method Details- 
getMapsReturns a list of maps for a given ResultSet.- Parameters:
- aResultSet- the result set to be converted to a list of maps.
- aLimit- the fetch limit for the list of maps. Use -1, 0 or Integer.MAX_VALUE for unlimited.
 
- 
getMapsDeepReturns map where any ResultSets have been converted to Lists. Copies the original Map if ResultSets exist.- Parameters:
- aMap- the map to be stripped of result sets.
- aDepth- the depth to traverse any nested maps or lists (suggested value: 2).
 
 
-