Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql.jdbc
Class SQLInfo.ColumnMapMaker

java.lang.Object
  extended by 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.


Field Summary
 List<Column> columns
           
 List<String> keys
           
 
Constructor Summary
SQLInfo.ColumnMapMaker(List<Column> columns)
           
SQLInfo.ColumnMapMaker(List<Column> columns, List<String> keys)
           
 
Method Summary
 Map<String,Serializable> makeMap(ResultSet rs)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columns

public final List<Column> columns

keys

public final List<String> keys
Constructor Detail

SQLInfo.ColumnMapMaker

public SQLInfo.ColumnMapMaker(List<Column> columns)

SQLInfo.ColumnMapMaker

public SQLInfo.ColumnMapMaker(List<Column> columns,
                              List<String> keys)
Method Detail

makeMap

public Map<String,Serializable> makeMap(ResultSet rs)
                                 throws SQLException
Specified by:
makeMap in interface SQLInfo.MapMaker
Throws:
SQLException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.