Class RevisionEntry
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.document.mongo.RevisionEntry
-
- All Implemented Interfaces:
com.mongodb.DBObject
,org.bson.BSONObject
public class RevisionEntry extends Object implements com.mongodb.DBObject
A light-weight implementation of a MongoDB DBObject for a single revision based map entry.
-
-
Constructor Summary
Constructors Constructor Description RevisionEntry(@NotNull Revision revision, @Nullable Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsField(String s)
boolean
containsKey(String s)
Object
get(String key)
boolean
isPartialObject()
Set<String>
keySet()
void
markAsPartialObject()
Object
put(String key, Object v)
void
putAll(Map m)
void
putAll(org.bson.BSONObject o)
Object
removeField(String key)
Map
toMap()
String
toString()
-
-
-
Method Detail
-
markAsPartialObject
public void markAsPartialObject()
- Specified by:
markAsPartialObject
in interfacecom.mongodb.DBObject
-
isPartialObject
public boolean isPartialObject()
- Specified by:
isPartialObject
in interfacecom.mongodb.DBObject
-
putAll
public void putAll(org.bson.BSONObject o)
- Specified by:
putAll
in interfaceorg.bson.BSONObject
-
putAll
public void putAll(Map m)
- Specified by:
putAll
in interfaceorg.bson.BSONObject
-
toMap
public Map toMap()
- Specified by:
toMap
in interfaceorg.bson.BSONObject
-
removeField
public Object removeField(String key)
- Specified by:
removeField
in interfaceorg.bson.BSONObject
-
containsKey
public boolean containsKey(String s)
- Specified by:
containsKey
in interfaceorg.bson.BSONObject
-
containsField
public boolean containsField(String s)
- Specified by:
containsField
in interfaceorg.bson.BSONObject
-
-