org.hibernate.type.descriptor
Interface ValueExtractor<X>
- All Known Implementing Classes:
- BasicExtractor
public interface ValueExtractor<X>
Contract for extracting a value from a ResultSet
.
- Author:
- Steve Ebersole
Method Summary |
X |
extract(java.sql.ResultSet rs,
java.lang.String name,
WrapperOptions options)
Extract value from result set |
extract
X extract(java.sql.ResultSet rs,
java.lang.String name,
WrapperOptions options)
throws java.sql.SQLException
- Extract value from result set
- Parameters:
rs
- The result set from which to extract the valuename
- The name by which to extract the value from the result setoptions
- The options
- Returns:
- The extracted value
- Throws:
java.sql.SQLException
- Indicates a JDBC error occurred.
Copyright © 2012. All Rights Reserved.