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 int
writeObject(OutputBuffer outputBuffer, BSONObject document)
Encode the BSONObject.
-
-
-
Method Detail
-
writeObject
public int writeObject(OutputBuffer outputBuffer, BSONObject document)
Description copied from interface:DBEncoder
Encode the BSONObject.- Specified by:
writeObject
in interfaceDBEncoder
- Parameters:
outputBuffer
- the OutputBuffer to write todocument
- the BSONObject to write- Returns:
- the number of characters in the encoding
-
-