接口 ValueExtractor<X>
-
- 所有已知实现类:
BasicExtractor
public interface ValueExtractor<X>Contract for extracting value via JDBC (fromResultSetor as output param fromCallableStatement).- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Xextract(CallableStatement statement, int index, WrapperOptions options)Xextract(CallableStatement statement, String[] paramNames, WrapperOptions options)Xextract(ResultSet rs, String name, WrapperOptions options)Extract value from result set
-
-
-
方法详细资料
-
extract
X extract(ResultSet rs, String name, WrapperOptions options) throws SQLException
Extract value from result set- 参数:
rs- The result set from which to extract the valuename- The name by which to extract the value from the result setoptions- The options- 返回:
- The extracted value
- 抛出:
SQLException- Indicates a JDBC error occurred.
-
extract
X extract(CallableStatement statement, int index, WrapperOptions options) throws SQLException
- 抛出:
SQLException
-
extract
X extract(CallableStatement statement, String[] paramNames, WrapperOptions options) throws SQLException
- 抛出:
SQLException
-
-