We would basically have to mimic the notion of result row processors and column processors as used in ORM's CustomLoader.