Package com.mongodb
Class LazyDBCallback
java.lang.Object
org.bson.EmptyBSONCallback
org.bson.LazyBSONCallback
com.mongodb.LazyDBCallback
- All Implemented Interfaces:
DBCallback,BSONCallback
A
BSONCallback for the creation of LazyDBObject and LazyDBList instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateArray(byte[] bytes, int offset) createDBRef(String ns, ObjectId id) createObject(byte[] bytes, int offset) Methods inherited from class org.bson.LazyBSONCallback
get, gotBinary, resetMethods inherited from class org.bson.EmptyBSONCallback
arrayDone, arrayStart, arrayStart, createBSONCallback, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDecimal128, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID, objectDone, objectStart, objectStartMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bson.BSONCallback
arrayDone, arrayStart, arrayStart, createBSONCallback, get, gotBinary, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDecimal128, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID, objectDone, objectStart, objectStart, reset
-
Constructor Details
-
LazyDBCallback
Construct an instance.- Parameters:
collection- theDBCollectioncontaining the document. This parameter is no longer used.
-
-
Method Details
-
createObject
- Overrides:
createObjectin classLazyBSONCallback
-
createArray
- Overrides:
createArrayin classLazyBSONCallback
-
createDBRef
- Overrides:
createDBRefin classLazyBSONCallback
-