[JAVA-1195] Add GeoJson related operators to QueryBuilder (geoIntersects, geoWithin) Created: 30/Apr/14  Updated: 11/Sep/19  Resolved: 08/Oct/15

Status: Closed
Project: Java Driver
Component/s: API, Query Operations
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: sharon.elkayam@10gen.com Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Similar request to c# driver request:
https://jira.mongodb.org/browse/CSHARP-683



 Comments   
Comment by Jeffrey Yemin [ 08/Oct/15 ]

We've decided not to put any more effort into the QueryBuilder class. However, the new CRUD API contains a builder for all GeoJson related operators as part of the Filters class. See https://github.com/mongodb/mongo-java-driver/blob/r3.1.0/driver-core/src/main/com/mongodb/client/model/Filters.java#L492-L738

These changes were introduced in the 3.1.0 release.

Comment by Tugdual Grall [ 29/May/14 ]

New pull request for 3.0.x branch:
https://github.com/mongodb/mongo-java-driver/pull/199

Would like to discuss some part of the code, especially the Document "encode".

Comment by Tugdual Grall [ 04/May/14 ]

Patch proposal: https://github.com/mongodb/mongo-java-driver/pull/193 (for discussion/review)

Generated at Thu Feb 08 08:54:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.