Package org.hibernate.type.descriptor
Interface ValueExtractor<X>
- All Known Implementing Classes:
BasicExtractor,DB2GetObjectExtractor,GetObjectExtractor,SDOGeometryValueExtractor
public interfaceValueExtractor<X>Contract for extracting values from a JDBCResultSetor from output the parameters of aCallableStatement.- API Note:
- Extractors, as well asbinders, should never applyconversions. Instead, callers of the extractor are expected to coordinate between the extraction and conversion.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Xextract(CallableStatement statement, int paramIndex,WrapperOptions options)Extract value from a callable output parameter by indexXextract(CallableStatement statement,String paramName,WrapperOptions options)Extract value from a callable output parameter by nameXextract(ResultSet rs, int paramIndex,WrapperOptions options)Extract value from result set
Method Detail
extract
X extract(ResultSet rs, int paramIndex,WrapperOptions options) throwsSQLException
Extract value from result set- Throws:
SQLException- Indicates a JDBC error occurred.
extract
X extract(CallableStatement statement, int paramIndex,WrapperOptions options) throwsSQLException
Extract value from a callable output parameter by index- Throws:
SQLException- Indicates a JDBC error occurred.
extract
X extract(CallableStatement statement,String paramName,WrapperOptions options) throwsSQLException
Extract value from a callable output parameter by name- Throws:
SQLException- Indicates a JDBC error occurred.