io.github.benas.easybatch.tutorials.customers.etl
Class CustomerMapper
java.lang.Object
io.github.benas.easybatch.tutorials.customers.etl.CustomerMapper
- All Implemented Interfaces:
- RecordMapper<Customer>
public class CustomerMapper
- extends Object
- implements RecordMapper<Customer>
A mapper implementation to map a database records to a Customer beans.
- Author:
- benas (md.benhassine@gmail.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomerMapper
public CustomerMapper()
mapRecord
public Customer mapRecord(Record record)
throws Exception
- Specified by:
mapRecord in interface RecordMapper<Customer>
- Throws:
Exception
Copyright © 2014. All Rights Reserved.