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