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

Make RawBsonDocument#get return RawBsonDocument instances

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.7.0
    • None
    • BSON
    • None
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: