[JAVA-1442] Make RawBsonDocument#get return RawBsonDocument instances Created: 12/Sep/14 Updated: 17/Aug/18 Resolved: 08/Mar/18 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Ross Lawley |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||
| Description |
|
Currently RawBsonDocument.get(Object key), when returning a BsonDocument, fulling decodes it. A more efficient way would be to return a RawBsonDocument pointing to just the raw bytes, which may or may not be a slice of the bytes managed by the container. |
| Comments |
| Comment by Githook User [ 08/Mar/18 ] |
|
Author: {'email': 'ross.lawley@gmail.com', 'name': 'Ross Lawley', 'username': 'rozza'}Message: RawBsonDocument#get will return RawBsonDocuments & RawBsonArrays
|
| Comment by Ross Lawley [ 15/Feb/18 ] |