Interface RecordExtractor<T>

    • Method Detail

      • extractData

        T extractData​(Record record)
               throws ResourceException,
                      SQLException,
                      DataAccessException
        Process the data in the given Record, creating a corresponding result 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 DataAccessException
        SQLException - if thrown by a ResultSet method, to be auto-converted to a DataAccessException
        DataAccessException - in case of custom exceptions
        See Also:
        ResultSet