Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1442

Make RawBsonDocument#get return RawBsonDocument instances

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.0
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • Minor Change

      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.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: