Class MongoDbAccessMetadataImpl

java.lang.Object
fr.gouv.vitam.common.database.server.mongodb.MongoDbAccess
fr.gouv.vitam.metadata.core.database.collections.MongoDbAccessMetadataImpl
All Implemented Interfaces:
DatabaseConnection

public class MongoDbAccessMetadataImpl extends MongoDbAccess
MongoDbAccess Implement for Admin
  • Constructor Details

    • MongoDbAccessMetadataImpl

      public MongoDbAccessMetadataImpl(com.mongodb.client.MongoClient mongoClient, String dbname, boolean recreate, ElasticsearchAccessMetadata esClient, MetadataCollections unitCollection, MetadataCollections objectCollection)
      Parameters:
      mongoClient - MongoClient
      dbname - MongoDB database name
      recreate - True to recreate the index
      esClient - Elasticsearch client
      unitCollection -
      objectCollection -
  • Method Details