#54 - Added a project for MongoDB examples using Java 8 features.
This initial version of the example projects demonstrates the usage and mapping behavior of Java 8 Streams in repositories. The test cases oppose a plain List based query method with one that uses a Stream and shows how the former pulls all data into memory first and the iteration is done over the pre-populated list. The execution of the Stream based method in contrast shows that the individual elements are read and converted while iterating the stream.
This commit is contained in:
committed by
Oliver Gierke
parent
6597d7ca95
commit
73be2fcddb
@@ -14,12 +14,13 @@
|
||||
<name>Spring Data MongoDB - Examples</name>
|
||||
<description>Sample projects for Spring Data MongoDB</description>
|
||||
<url>http://projects.spring.io/spring-data-mongodb</url>
|
||||
<inceptionYear>2011-2014</inceptionYear>
|
||||
<inceptionYear>2011-2015</inceptionYear>
|
||||
|
||||
<modules>
|
||||
<module>aggregation</module>
|
||||
<module>example</module>
|
||||
<module>text-search</module>
|
||||
<module>java8</module>
|
||||
<module>util</module>
|
||||
</modules>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user