Package com.mongodb
Class LazyDBEncoder
java.lang.Object
com.mongodb.LazyDBEncoder
- All Implemented Interfaces:
- DBEncoder
Encoder that only knows how to encode BSONObject instances of type LazyDBObject.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintwriteObject(OutputBuffer outputBuffer, BSONObject document) Encode the BSONObject.
- 
Constructor Details- 
LazyDBEncoderpublic LazyDBEncoder()
 
- 
- 
Method Details- 
writeObjectDescription copied from interface:DBEncoderEncode the BSONObject.- Specified by:
- writeObjectin interface- DBEncoder
- Parameters:
- outputBuffer- the OutputBuffer to write to
- document- the BSONObject to write
- Returns:
- the number of characters in the encoding
 
 
-