Paginator factory in dbmapper