| org.apache.beehive.controls.system.jdbc.ResultSetHashMap
ResultSetHashMap | public class ResultSetHashMap extends HashMap (Code) | | The ResultSetHashMap class extends a standard HashMap and populates it with data derived from a JDBC ResultSet.
Note: the keys are treated case-insensitively, and therefore requests made on the map are
case-insensitive. Any direct access to the keys will yield uppercase keys.
Note: only the row associated with the current cursor position is used.
|
ResultSetHashMap | ResultSetHashMap()(Code) | | Default constructor.
|
ResultSetHashMap | ResultSetHashMap(int size)(Code) | | Constructor that initializes the map to a specific size.
Parameters: size - the size |
ResultSetHashMap | ResultSetHashMap(ResultSet rs, String[] keys) throws SQLException(Code) | | This constructor is optimized for being called in a loop. It also canonicalizes the
column names into upper case so that values in a map can be looked up using either
upper, lower, or mixed case strings.
Parameters: rs - the ResultSet to map Parameters: keys - an array of key objects to store in the map throws: SQLException - if an error occurs while reading from the ResultSet |
|
|