|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fudgemsg.mapping.FudgeMongoDBObject
public class FudgeMongoDBObject
Wraps a FudgeFieldContainer
and implements the DBObject
interface,
without going through an object conversion stage (as the MongoDBFudgeBuilder
will do).
This class is very much a work in progress. For details on why, please see
http://kirkwylie.blogspot.com/2010/06/performance-of-fudge-persistence-in.html and the comments
from the 10gen team at the bottom.
Constructor Summary | |
---|---|
FudgeMongoDBObject(MutableFudgeFieldContainer underlying)
The primary constructor. |
Method Summary | |
---|---|
boolean |
containsField(String s)
|
boolean |
containsKey(String s)
|
Object |
get(String key)
|
FudgeMsg |
getUnderlying()
|
boolean |
isPartialObject()
|
Set<String> |
keySet()
|
void |
markAsPartialObject()
|
Object |
put(String key,
Object v)
|
void |
putAll(org.bson.BSONObject o)
|
void |
putAll(Map m)
|
Object |
removeField(String key)
|
Map |
toMap()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FudgeMongoDBObject(MutableFudgeFieldContainer underlying)
underlying
- underlying FudgeFieldContainer to be wrappedMethod Detail |
---|
public FudgeMsg getUnderlying()
public boolean containsField(String s)
containsField
in interface org.bson.BSONObject
public boolean containsKey(String s)
containsKey
in interface org.bson.BSONObject
public Object get(String key)
get
in interface org.bson.BSONObject
public boolean isPartialObject()
isPartialObject
in interface com.mongodb.DBObject
public Set<String> keySet()
keySet
in interface org.bson.BSONObject
public void markAsPartialObject()
markAsPartialObject
in interface com.mongodb.DBObject
public Object put(String key, Object v)
put
in interface org.bson.BSONObject
public void putAll(org.bson.BSONObject o)
putAll
in interface org.bson.BSONObject
public void putAll(Map m)
putAll
in interface org.bson.BSONObject
public Object removeField(String key)
removeField
in interface org.bson.BSONObject
public Map toMap()
toMap
in interface org.bson.BSONObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |