Hi Suminda,

jOOQ is a domain-specific language only focusing on SQL. We aim at being a
better solution than SQLJ for embedding the SQL language into Java. We
believe that a unified querying API for all sorts of collections / data
stores is not a good idea, as it will create new impedance mismatches
between various technologies that are simply not "unifiable". In other
words, querying (or rather transforming) collections is absolutely not the
same as querying relational data or querying (or rather, transforming) XML.

In addition to this, in our opinion, Java 8 will provide enough exciting
new features to operate on collections and streams using higher order
functions. With Java 8, you will be able to use jOOQ to express the actual
SQL to extract data from a database in tabular form, and then to pass
lambda expressions to org.jooq.Result.map(RecordMapper), RecordMapper being
a SAM interface:
http://www.jooq.org/javadoc/latest/org/jooq/Result.html#map(org.jooq.RecordMapper)

In addition to this, you can transform jOOQ Results as you can transform
any other java.util.List, as Result extends List.

Some further reading about the philosophy behind jOOQ.
- http://www.jooq.org/doc/3.2/manual/preface/
-
http://blog.jooq.org/2013/11/02/does-java-8-still-need-linq-or-is-it-better-than-linq/

Hope this helps,
Lukas


2013/11/15 Suminda Dharmasena <[email protected]>

> Hi,
>
> Is it possible to provide a method to access and manipulate collections
> and streams like in Linq and Rx.
>
> Suminda
>
> --
> You received this message because you are subscribed to the Google Groups
> "jOOQ User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to