org.springframework.batch.sample.common
Class FieldSetResultSetExtractor
java.lang.Object
org.springframework.batch.sample.common.FieldSetResultSetExtractor
public final class FieldSetResultSetExtractor
- extends Object
ResultSetExtractor implementation that returns list of FieldSets
for given ResultSet.
- Author:
- peter.zozom
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getFieldSet
public static FieldSet getFieldSet(ResultSet rs)
throws SQLException
- Processes single row in ResultSet and returns its FieldSet representation.
- Parameters:
rs
- ResultSet ResultSet to extract data from.
- Returns:
- FieldSet representation of current row in ResultSet
- Throws:
SQLException
- thrown during processing
Copyright © 2009 SpringSource. All Rights Reserved.