Uses of Class
fr.gouv.vitam.metadata.core.database.collections.MetadataCollections
-
Packages that use MetadataCollections Package Description fr.gouv.vitam.metadata.core.config Provides API configuration classes for the Metadata modulefr.gouv.vitam.metadata.core.database.collections Providesfr.gouv.vitam.metadata.core.graph fr.gouv.vitam.metadata.core.graph.api fr.gouv.vitam.metadata.core.metrics fr.gouv.vitam.metadata.core.reconstruction.service -
-
Uses of MetadataCollections in fr.gouv.vitam.metadata.core.config
Methods in fr.gouv.vitam.metadata.core.config with parameters of type MetadataCollections Modifier and Type Method Description ElasticsearchIndexAliasResolverElasticsearchMetadataIndexManager. getElasticsearchIndexAliasResolver(MetadataCollections collection)ElasticsearchIndexSettingsElasticsearchMetadataIndexManager. getElasticsearchIndexSettings(MetadataCollections collection, int tenantId) -
Uses of MetadataCollections in fr.gouv.vitam.metadata.core.database.collections
Methods in fr.gouv.vitam.metadata.core.database.collections that return MetadataCollections Modifier and Type Method Description static MetadataCollectionsMetadataCollections. getFromValue(java.lang.String collection)get collection from value.protected abstract MetadataCollectionsMetadataDocument. getMetadataCollections()protected MetadataCollectionsObjectGroup. getMetadataCollections()protected MetadataCollectionsUnit. getMetadataCollections()static MetadataCollectionsMetadataCollections. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MetadataCollections[]MetadataCollections. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in fr.gouv.vitam.metadata.core.database.collections with parameters of type MetadataCollections Modifier and Type Method Description org.elasticsearch.search.aggregations.AggregationsElasticsearchAccessMetadata. basicAggregationSearch(MetadataCollections collection, java.lang.Integer tenantId, java.util.List<org.elasticsearch.search.aggregations.AggregationBuilder> aggregations, org.elasticsearch.index.query.QueryBuilder query)Makes a search request on elasticsearch on a collection with aggregations and a queryvoidElasticsearchAccessMetadata. createIndexAndAliasIfAliasNotExists(MetadataCollections collection, java.lang.Integer tenantId)voidElasticsearchAccessMetadata. createIndexesAndAliases(MetadataCollections... collections)voidElasticsearchAccessMetadata. delete(MetadataCollections collection, java.util.List<java.lang.String> ids, java.lang.Integer tenantId)static com.mongodb.client.result.DeleteResultMongoDbMetadataHelper. delete(MetadataCollections collection, org.bson.conversions.Bson condition, int nb)Deprecated.voidElasticsearchAccessMetadata. deleteIndexByAliasForTesting(MetadataCollections collection, int tenantId)java.util.List<UpdatedDocument>DbRequest. execUpdateRequest(java.util.List<RequestById> bulkRequests, MetadataCollections metadataCollection, OntologyValidator ontologyValidator, UnitValidator unitValidator, java.util.List<OntologyModel> ontologyModels, boolean forceUpdate, boolean refreshElasticIndexPostBulkIndexing)static MetadataDocumentMongoDbMetadataHelper. findOne(MetadataCollections col, java.lang.String id)Deprecated.Find the corresponding id in col collection if it exists.com.fasterxml.jackson.databind.JsonNodeMetadataRepositoryService. getDocumentById(MetadataCollections collection, java.lang.String id, java.lang.Integer tenant)Retrieve document by its ID in a given collection filtered by a tenant in mongojava.util.List<com.fasterxml.jackson.databind.JsonNode>MetadataRepositoryService. getDocumentsByIds(MetadataCollections collection, java.util.Collection<java.lang.String> ids, java.lang.Integer tenant)Retrieve document by its ID in a given collection filtered by a tenant in mongovoidElasticsearchAccessMetadata. indexEntry(MetadataCollections collection, java.lang.Integer tenantId, java.lang.String id, VitamDocument<?> vitamDocument)voidElasticsearchAccessMetadata. insertFullDocument(MetadataCollections collection, java.lang.Integer tenantId, java.lang.String id, MetadataDocument<?> doc)Insert one elementvoidElasticsearchAccessMetadata. insertFullDocuments(MetadataCollections collection, java.lang.Integer tenantId, java.util.Collection<? extends MetadataDocument<?>> documents)voidElasticsearchAccessMetadata. insertFullDocumentsWithRefreshSettings(MetadataCollections collection, java.lang.Integer tenantId, java.util.Collection<? extends MetadataDocument<?>> documents, boolean withRefreshIndex)voidElasticsearchAccessMetadata. purgeIndexForTesting(MetadataCollections collection, java.lang.Integer tenantId)voidElasticsearchAccessMetadata. refreshIndex(MetadataCollections collection, int tenantId)protected Result<MetadataDocument<?>>ElasticsearchAccessMetadata. search(MetadataCollections collection, java.lang.Integer tenantId, org.elasticsearch.index.query.QueryBuilder query, java.util.List<org.elasticsearch.search.sort.SortBuilder<?>> sorts, int offset, java.lang.Integer limit, java.util.List<org.elasticsearch.search.aggregations.AggregationBuilder> facets, java.lang.String scrollId, java.lang.Integer scrollTimeout, boolean trackTotalHits)static com.mongodb.client.FindIterable<?>MongoDbMetadataHelper. select(MetadataCollections collection, org.bson.conversions.Bson condition, org.bson.conversions.Bson projection)Deprecated.Does not call getAfterLoad.static com.mongodb.client.FindIterable<?>MongoDbMetadataHelper. select(MetadataCollections collection, org.bson.conversions.Bson condition, org.bson.conversions.Bson projection, org.bson.conversions.Bson orderBy, int offset, int limit)Deprecated.Does not call getAfterLoad.voidElasticsearchAccessMetadata. updateFullDocument(MetadataCollections collection, java.lang.Integer tenantId, java.lang.String id, MetadataDocument<?> metadataDocument)Update one element fullyMethod parameters in fr.gouv.vitam.metadata.core.database.collections with type arguments of type MetadataCollections Modifier and Type Method Description static voidMetadataCollectionsTestUtils. afterTest(ElasticsearchMetadataIndexManager indexManager, java.util.Collection<MetadataCollections> metadataCollections)static voidMetadataCollectionsTestUtils. afterTestClass(ElasticsearchMetadataIndexManager indexManager, java.util.Collection<MetadataCollections> metadataCollections, boolean deleteEsIndexes)static voidMetadataCollectionsTestUtils. beforeTestClass(com.mongodb.client.MongoDatabase db, java.lang.String prefix, ElasticsearchAccessMetadata esClient, java.util.Collection<MetadataCollections> metadataCollections)Constructors in fr.gouv.vitam.metadata.core.database.collections with parameters of type MetadataCollections Constructor Description MongoDbAccessMetadataImpl(com.mongodb.client.MongoClient mongoClient, java.lang.String dbname, boolean recreate, ElasticsearchAccessMetadata esClient, MetadataCollections unitCollection, MetadataCollections objectCollection) -
Uses of MetadataCollections in fr.gouv.vitam.metadata.core.graph
Methods in fr.gouv.vitam.metadata.core.graph that return types with arguments of type MetadataCollections Modifier and Type Method Description java.util.Map<MetadataCollections,java.lang.Integer>StoreGraphService. tryStoreGraph()If no graph store in progress, try to start one Should be exposed in the APIMethods in fr.gouv.vitam.metadata.core.graph with parameters of type MetadataCollections Modifier and Type Method Description GraphComputeResponseGraphComputeServiceImpl. computeGraph(MetadataCollections metadataCollections, java.util.Collection<java.lang.String> documentsId, boolean computeObjectGroupGraph, boolean invalidateComputedInheritedRules)java.time.LocalDateTimeStoreGraphService. getLastGraphStoreDate(MetadataCollections metadataCollections)As the files generated are zip files. -
Uses of MetadataCollections in fr.gouv.vitam.metadata.core.graph.api
Methods in fr.gouv.vitam.metadata.core.graph.api with parameters of type MetadataCollections Modifier and Type Method Description GraphComputeResponseGraphComputeService. computeGraph(MetadataCollections metadataCollections, java.util.Collection<java.lang.String> unitsId, boolean computeObjectGroupGraph, boolean invalidateComputedInheritedRules)Compute graph for unit/got from all parents -
Uses of MetadataCollections in fr.gouv.vitam.metadata.core.metrics
Methods in fr.gouv.vitam.metadata.core.metrics with parameters of type MetadataCollections Modifier and Type Method Description java.time.DurationMetadataReconstructionMetricsCache. getDocumentReconstructionLatency(MetadataCollections metadataCollection, int tenant, java.lang.String strategy)java.time.DurationMetadataReconstructionMetricsCache. getGraphReconstructionLatency(MetadataCollections metadataCollection)voidMetadataReconstructionMetricsCache. registerLastDocumentReconstructionDate(MetadataCollections metadataCollection, int tenant, java.lang.String strategy, java.time.LocalDateTime lastDocumentReconstructionDate)voidMetadataReconstructionMetricsCache. registerLastGraphReconstructionDate(MetadataCollections metadataCollection, java.time.LocalDateTime lastGraphReconstructionDate) -
Uses of MetadataCollections in fr.gouv.vitam.metadata.core.reconstruction.service
Methods in fr.gouv.vitam.metadata.core.reconstruction.service with parameters of type MetadataCollections Modifier and Type Method Description MetadataBackupModelRestoreBackupService. loadData(java.lang.String strategy, java.lang.String referentOffer, MetadataCollections collection, java.lang.String filename, long offset)Load data from storagevoidMetadataReconstructionService. purgeReconstructedDocumentsWithGraphOnlyData(MetadataCollections metaDaCollection)Find all older (AU/GOT) where only graph data are reconstructed As Documents with only graph data are not indexed in elasticsearch => we have not to implement deletion from Elastcisearch
-