Package com.mongodb
Class LazyDBEncoder
- java.lang.Object
-
- com.mongodb.LazyDBEncoder
-
-
Constructor Summary
Constructors Constructor Description LazyDBEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intwriteObject(OutputBuffer outputBuffer, BSONObject document)Encode the BSONObject.
-
-
-
Method Detail
-
writeObject
public int writeObject(OutputBuffer outputBuffer, BSONObject document)
Description copied from interface:DBEncoderEncode the BSONObject.- Specified by:
writeObjectin interfaceDBEncoder- Parameters:
outputBuffer- the OutputBuffer to write todocument- the BSONObject to write- Returns:
- the number of characters in the encoding
-
-