[JAVA-354] Add getShort() and getByte functions to BasicDBObject Created: 19/May/11 Updated: 25/Jun/13 Resolved: 24/Oct/11 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Matew | Assignee: | Antoine Girbal |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | getFunctions | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
All |
||
| Description |
|
Please add functions getShort() and getByte to BasicDBObject. |
| Comments |
| Comment by Scott Hernandez (Inactive) [ 19/May/11 ] |
|
There are neither short nor byte data types in bson, at the server. Since these don't map to real types it seems overkill to add get* methods for any/all java types when there is no matching type on the server. |