[JAVA-390] Make it possible to override the bson decoder, not just the callback Created: 30/Jun/11  Updated: 10/Aug/11  Resolved: 30/Jun/11

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.6.4

Type: Improvement Priority: Major - P3
Reporter: Antoine Girbal Assignee: Antoine Girbal
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Right now the BSONDecoder is a class (not interface) and actually parses the whole bson stream into objects.
Then callback just decides what to do with component.
It is desirable to be able to override the decoder too, for example to implement lazy objects.



 Comments   
Comment by auto [ 30/Jun/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: JAVA-390: Make it possible to override the bson decoder, not just the callback
JAVA-391: add a new BSON decoder and bson object type that uses a lazy approach like C++ code
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/3bd03644e818aa18b2ff65064eea8531d7da8c2b

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