[JAVA-2185] Add support for NumberInt Created: 04/May/16  Updated: 16/Mar/17  Resolved: 16/Mar/17

Status: Closed
Project: Java Driver
Component/s: JSON
Affects Version/s: 3.0.0
Fix Version/s: 3.5.0

Type: New Feature Priority: Major - P3
Reporter: Guillaume Smet Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hi!

I'm working on Hibernate OGM which is a JPA wrapper for NoSQL database.

We support the shell syntax for queries and we have users asking for NumberInt support, which is at least partially supported in the server but not at all in the Java driver.

A pull request will follow adding the NumberInt/$numberInt support to the JsonReader.

Note that, for the JsonWriter, it's not implemented as it has consequences on timestamp and so on. AFAICS, judging by the open tickets, the server has the very same behavior.



 Comments   
Comment by Githook User [ 16/Mar/17 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-2185 Support shell syntax for NumberInt in JsonReader
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/f57f840edca1122469c401fa0741a8ca2aa88467

Comment by Guillaume Smet [ 04/May/16 ]

Pull request: https://github.com/mongodb/mongo-java-driver/pull/350

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