@Deprecated public class LazyWriteableDBCallback extends LazyDBCallback
Constructor and Description |
---|
LazyWriteableDBCallback(DBCollection collection)
Deprecated.
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
createObject(byte[] data,
int offset)
Deprecated.
Create a
LazyBSONObject instance from the given bytes starting from the given offset. |
createArray, createDBRef
get, gotBinary, reset, setRootObject
arrayDone, arrayStart, arrayStart, createBSONCallback, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID, objectDone, objectStart, objectStart, objectStart
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
arrayDone, arrayStart, arrayStart, createBSONCallback, get, gotBinary, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID, objectDone, objectStart, objectStart, objectStart, reset
public LazyWriteableDBCallback(DBCollection collection)
collection
- the collection containing the documents to be decodedpublic Object createObject(byte[] data, int offset)
LazyBSONCallback
LazyBSONObject
instance from the given bytes starting from the given offset.createObject
in class LazyDBCallback
data
- the raw BSON bytesoffset
- the offset into the bytes