Examples of GeoCommand


Examples of org.springframework.data.mongodb.core.query.GeoCommand

   */
  @Test
  public void convertsGeoCommandToDbObjectCorrectly() {

    Box box = new Box(new double[] { 1, 2 }, new double[] { 3, 4 });
    GeoCommand cmd = new GeoCommand(box);

    DBObject dbo = GeoCommandToDbObjectConverter.INSTANCE.convert(cmd);

    assertThat(dbo, is(notNullValue()));

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.