public class DefaultDBCallback extends BasicBSONCallback implements DBCallback
| Modifier and Type | Field and Description |
|---|---|
static DBCallbackFactory |
FACTORY |
| Constructor and Description |
|---|
DefaultDBCallback(DBCollection coll) |
| Modifier and Type | Method and Description |
|---|---|
BSONObject |
create() |
BSONObject |
create(boolean array,
List<String> path) |
void |
gotDBRef(String name,
String ns,
ObjectId id) |
Object |
objectDone() |
void |
objectStart(boolean array,
String name) |
void |
reset() |
_put, arrayDone, arrayStart, arrayStart, createBSONCallback, createList, cur, curName, get, gotBinary, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID, isStackEmpty, objectStart, objectStart, objectStart, setRootclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarrayDone, arrayStart, arrayStart, createBSONCallback, get, gotBinary, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID, objectStart, objectStart, objectStartpublic static DBCallbackFactory FACTORY
public DefaultDBCallback(DBCollection coll)
public void gotDBRef(String name, String ns, ObjectId id)
gotDBRef in interface BSONCallbackgotDBRef in class BasicBSONCallbackpublic void objectStart(boolean array,
String name)
objectStart in class BasicBSONCallbackpublic Object objectDone()
objectDone in interface BSONCallbackobjectDone in class BasicBSONCallbackpublic BSONObject create()
create in class BasicBSONCallbackMongoExceptionpublic BSONObject create(boolean array, List<String> path)
create in class BasicBSONCallbackarray - path - MongoExceptionpublic void reset()
reset in interface BSONCallbackreset in class BasicBSONCallback