public interface ValueExtractor<X>
ResultSet
or as output param from CallableStatement
).Modifier and Type | Method and Description |
---|---|
X |
extract(CallableStatement statement,
int index,
WrapperOptions options) |
X |
extract(CallableStatement statement,
String[] paramNames,
WrapperOptions options) |
X |
extract(ResultSet rs,
String name,
WrapperOptions options)
Extract value from result set
|
X extract(ResultSet rs, String name, WrapperOptions options) throws SQLException
rs
- The result set from which to extract the valuename
- The name by which to extract the value from the result setoptions
- The optionsSQLException
- Indicates a JDBC error occurred.X extract(CallableStatement statement, int index, WrapperOptions options) throws SQLException
SQLException
X extract(CallableStatement statement, String[] paramNames, WrapperOptions options) throws SQLException
SQLException
Copyright © 2017 JBoss by Red Hat. All rights reserved.