V
- the value type@FunctionalInterface public interface ValueExtractor<V>
This class is used to extract a value object from every row in a ref cursor out parameter.
Implementations should not catch SQLException
this will
be done by a higher layer.
NumberedValueExtractor
Modifier and Type | Method | Description |
---|---|---|
V |
extractValue(ResultSet resultSet) |
Extract the value from the current row.
|
V extractValue(ResultSet resultSet) throws SQLException
Implementations should not call ResultSet.next()
but
instead expect to be called for every method.
resultSet
- the ResultSet to the value of the current row fromSQLException
- propagated if a method on ResultSet
throws an exceptionCopyright © 2016–2018. All rights reserved.