com.mongodb
Class LazyDBCallback

java.lang.Object
  extended by org.bson.EmptyBSONCallback
      extended by org.bson.LazyBSONCallback
          extended by com.mongodb.LazyDBCallback
All Implemented Interfaces:
DBCallback, BSONCallback
Direct Known Subclasses:
LazyWriteableDBCallback

public class LazyDBCallback
extends LazyBSONCallback
implements DBCallback


Constructor Summary
LazyDBCallback(DBCollection coll)
           
 
Method Summary
 Object createDBRef(String ns, ObjectId id)
           
 Object createObject(byte[] data, int offset)
           
 
Methods inherited from class org.bson.LazyBSONCallback
createArray, get, gotBinary, objectDone, objectStart, objectStart, objectStart, reset, setRootObject
 
Methods inherited from class org.bson.EmptyBSONCallback
arrayDone, arrayStart, arrayStart, createBSONCallback, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID
 
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, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID, objectDone, objectStart, objectStart, objectStart, reset
 

Constructor Detail

LazyDBCallback

public LazyDBCallback(DBCollection coll)
Method Detail

createObject

public Object createObject(byte[] data,
                           int offset)
Overrides:
createObject in class LazyBSONCallback

createDBRef

public Object createDBRef(String ns,
                          ObjectId id)
Overrides:
createDBRef in class LazyBSONCallback