com.mongodb
Class LazyDBEncoder
java.lang.Object
com.mongodb.LazyDBEncoder
- All Implemented Interfaces:
- DBEncoder
public class LazyDBEncoder
- extends Object
- implements DBEncoder
Encoder that only knows how to encode BSONObject instances of type LazyDBObject.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyDBEncoder
public LazyDBEncoder()
writeObject
public int writeObject(OutputBuffer buf,
BSONObject o)
- Specified by:
writeObject
in interface DBEncoder
- Parameters:
buf
- o
-
- Returns:
-
- Throws:
MongoException