Copied over some basic lambda infrastructure from the JPA version of
Jinq to the jOOQ version of Jinq.