Package org.springframework.data.mongodb.core.mapreduce

Examples of org.springframework.data.mongodb.core.mapreduce.GroupBy


  }

  @Test
  public void singleKeyCreation() {

    DBObject gc = new GroupBy("a").getGroupByObject();

    assertThat(gc.toString(), is("{ \"key\" : { \"a\" : 1} , \"$reduce\" :  null  , \"initial\" :  null }"));
  }
View Full Code Here

TOP

Related Classes of org.springframework.data.mongodb.core.mapreduce.GroupBy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.