[JAVA-1659] Add Bson interface to enable type-safe MongoCollection API Created: 24/Feb/15 Updated: 31/Mar/15 Resolved: 27/Feb/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Introduce the Bson interface, and replaced all use of Object in the high-level API with it. BasicDBObject, Document, and BsonDocument will implement this interface, so any of them can be used to specify filter, sort, projection, update, etc. Third parties can create their own implementations to allow for other types to be used that are not included in the driver proper. |
| Comments |
| Comment by Jeffrey Yemin [ 31/Mar/15 ] |
|
Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released. |
| Comment by Githook User [ 27/Feb/15 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Updated names / documentation based on new conventions Refs: |
| Comment by Githook User [ 27/Feb/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Completed work of replacing Object with the Bson type in the high-level API. |
| Comment by Githook User [ 24/Feb/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Introduced Bson interface, and replaced all use of Object in the high-level API with it. |