org.apache.logging.log4j.mongodb2

Class MongoDbObject

  • All Implemented Interfaces:
    NoSqlObject<com.mongodb.BasicDBObject>


    public final class MongoDbObject
    extends Object
    implements NoSqlObject<com.mongodb.BasicDBObject>
    The MongoDB implementation of NoSqlObject.
    • Constructor Detail

      • MongoDbObject

        public MongoDbObject()
    • Method Detail

      • set

        public void set(String field,
               NoSqlObject<com.mongodb.BasicDBObject> value)
        Specified by:
        set in interface NoSqlObject<com.mongodb.BasicDBObject>
      • set

        public void set(String field,
               NoSqlObject<com.mongodb.BasicDBObject>[] values)
        Specified by:
        set in interface NoSqlObject<com.mongodb.BasicDBObject>
      • unwrap

        public com.mongodb.BasicDBObject unwrap()
        Specified by:
        unwrap in interface NoSqlObject<com.mongodb.BasicDBObject>

Copyright © 1999-2019 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.