org.nuxeo.ecm.core.storage.sql.jdbc
Class SQLInfo.ColumnMapMaker
java.lang.Object
org.nuxeo.ecm.core.storage.sql.jdbc.SQLInfo.ColumnMapMaker
- All Implemented Interfaces:
- SQLInfo.MapMaker
- Enclosing class:
- SQLInfo
public static class SQLInfo.ColumnMapMaker
- extends Object
- implements SQLInfo.MapMaker
Builds the map from a result set given a list of columns and column keys.
columns
public final List<Column> columns
keys
public final List<String> keys
SQLInfo.ColumnMapMaker
public SQLInfo.ColumnMapMaker(List<Column> columns)
SQLInfo.ColumnMapMaker
public SQLInfo.ColumnMapMaker(List<Column> columns,
List<String> keys)
makeMap
public Map<String,Serializable> makeMap(ResultSet rs)
throws SQLException
- Specified by:
makeMap
in interface SQLInfo.MapMaker
- Throws:
SQLException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.