Class 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 Detail

      • RevisionEntry

        public RevisionEntry​(@NotNull
                             @NotNull Revision revision,
                             @Nullable
                             @Nullable Object value)
    • Method Detail

      • markAsPartialObject

        public void markAsPartialObject()
        Specified by:
        markAsPartialObject in interface com.mongodb.DBObject
      • isPartialObject

        public boolean isPartialObject()
        Specified by:
        isPartialObject in interface com.mongodb.DBObject
      • put

        public Object put​(String key,
                          Object v)
        Specified by:
        put in interface org.bson.BSONObject
      • putAll

        public void putAll​(org.bson.BSONObject o)
        Specified by:
        putAll in interface org.bson.BSONObject
      • putAll

        public void putAll​(Map m)
        Specified by:
        putAll in interface org.bson.BSONObject
      • get

        public Object get​(String key)
        Specified by:
        get in interface org.bson.BSONObject
      • toMap

        public Map toMap()
        Specified by:
        toMap in interface org.bson.BSONObject
      • removeField

        public Object removeField​(String key)
        Specified by:
        removeField in interface org.bson.BSONObject
      • containsKey

        public boolean containsKey​(String s)
        Specified by:
        containsKey in interface org.bson.BSONObject
      • containsField

        public boolean containsField​(String s)
        Specified by:
        containsField in interface org.bson.BSONObject
      • keySet

        public Set<String> keySet()
        Specified by:
        keySet in interface org.bson.BSONObject