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
-
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, reset
Methods 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, objectStart
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
- theDBCollection
containing the document. This parameter is no longer used.
-
-
Method Details
-
createObject
- Overrides:
createObject
in classLazyBSONCallback
-
createArray
- Overrides:
createArray
in classLazyBSONCallback
-
createDBRef
- Overrides:
createDBRef
in classLazyBSONCallback
-