Class SimpleMongoDBAccess

java.lang.Object
fr.gouv.vitam.common.database.server.mongodb.MongoDbAccess
fr.gouv.vitam.common.database.server.mongodb.SimpleMongoDBAccess
All Implemented Interfaces:
DatabaseConnection

public class SimpleMongoDBAccess extends MongoDbAccess
simple implementation on MongoDbAccess
  • Constructor Details

    • SimpleMongoDBAccess

      public SimpleMongoDBAccess(com.mongodb.client.MongoClient mongoClient, String dbname)
      Parameters:
      mongoClient - MongoClient
      dbname - MongoDB database name
      Throws:
      IllegalArgumentException - if mongoClient or dbname is null