Class MappingRecordOperation.RecordExtractorImpl
- java.lang.Object
- org.springframework.jca.cci.object.MappingRecordOperation.RecordExtractorImpl
- All Implemented Interfaces:
RecordExtractor<Object>
- Enclosing class:
- MappingRecordOperation
protected class MappingRecordOperation.RecordExtractorImpl extends Object implements RecordExtractor<Object>
Implementation of RecordExtractor that calls the enclosing class'sextractOutputData
method.
Constructor Summary
Constructors Modifier Constructor Description protected
RecordExtractorImpl()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
extractData(Record record)
Process the data in the given Record, creating a corresponding result object.
Constructor Detail
RecordExtractorImpl
protected RecordExtractorImpl()
Method Detail
extractData
public Object extractData(Record record) throws ResourceException, SQLException, DataAccessException
Description copied from interface:RecordExtractor
Process the data in the given Record, creating a corresponding result object.- Specified by:
extractData
in interfaceRecordExtractor<Object>
- Parameters:
record
- the Record to extract data from (possibly a CCI ResultSet)- Returns:
- an arbitrary result object, or
null
if none (the extractor will typically be stateful in the latter case) - Throws:
ResourceException
- if thrown by a CCI method, to be auto-converted to a DataAccessExceptionSQLException
- if thrown by a ResultSet method, to be auto-converted to a DataAccessExceptionDataAccessException
- in case of custom exceptions- See Also:
ResultSet