I - The input record type.O - The output record type.public interface RecordMapper<I extends Record,O extends Record> extends RecordProcessor<I,O>
Record to a GenericRecord having a domain object as payload.| Modifier and Type | Method and Description |
|---|---|
O |
processRecord(I record)
Map the record to a
GenericRecord having a domain object as payload. |
O processRecord(I record) throws RecordMappingException
GenericRecord having a domain object as payload.processRecord in interface RecordProcessor<I extends Record,O extends Record>record - the record to map.GenericRecord having a domain object as payloadRecordMappingException - if an error occurs during record mappingCopyright © 2015. All Rights Reserved.