# Uses of Class
fr.gouv.vitam.metadata.core.database.collections.Result

Packages that use Result
Package
Description
fr.gouv.vitam.metadata.core.database.collections
Provides
fr.gouv.vitam.metadata.core.utils
Provides utility classes for the Metadata module

- ## Uses of Result in fr.gouv.vitam.metadata.core.database.collections

  Subclasses of Result in fr.gouv.vitam.metadata.core.database.collections
  Modifier and Type
  Class
  Description
  `class`
  `ResultDefault<T>`
  Result LRU in memory version
  `class`
  `ResultError`
  Result Error only
  Methods in fr.gouv.vitam.metadata.core.database.collections that return Result
  Modifier and Type
  Method
  Description
  `Result<T>`
  Result.`addFinal(T document)`
  Add one document into final result
  `Result<T>`
  Result.`addId(String id, double score)`
  Ad one Id to CurrentIds
  `Result<T>`
  Result.`clear()`
  Clear the Result
  `static Result`
  MongoDbMetadataHelper.`createOneResult(BuilderToken.FILTERARGS type)`
  Deprecated.
  `static Result`
  MongoDbMetadataHelper.`createOneResult(BuilderToken.FILTERARGS type, Collection<String> set)`
  Deprecated.
  `protected Result<MetadataDocument<?>>`
  DbRequest.`exactDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, int exactDepth, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one Unit Query using exact Depth
  `Result<MetadataDocument<?>>`
  DbRequest.`execRequest(RequestParserMultiple requestParser, List<OntologyModel> ontologies)`
  The request should be already analyzed.
  `protected Result<MetadataDocument<?>>`
  DbRequest.`executeQuery(RequestParserMultiple requestParser, RequestToAbstract requestToMongodb, int rank, Result<MetadataDocument<?>> previous, DynamicParserTokens parserTokens)`
  Execute one request
  `protected Result<MetadataDocument<?>>`
  DbRequest.`lastDeleteFilterProjection(DeleteToMongodb requestToMongodb, Result<MetadataDocument<?>> last)`
  Finalize the queries with last True Delete
  `protected Result<MetadataDocument<?>>`
  DbRequest.`lastSelectFilterProjection(SelectToMongodb requestToMongodb, Result<MetadataDocument<?>> last, boolean checkConsistency)`
  Finalize the queries with last True Select
  `protected Result<MetadataDocument<?>>`
  DbRequest.`objectGroupQuery(Query realQuery, Result<MetadataDocument<?>> previous, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, String scrollId, Integer scrollTimeout, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth ObjectGroup Query
  `Result<T>`
  Result.`putFrom(Result<T> from)`
  Put from argument
  `protected Result<MetadataDocument<?>>`
  DbRequest.`relativeDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, int relativeDepth, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth Unit Query
  `protected Result<MetadataDocument<?>>`
  DbRequest.`sameDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth Unit Query
  `protected final Result<MetadataDocument<?>>`
  ElasticsearchAccessMetadata.`search(MetadataCollections collection, Integer tenantId, co.elastic.clients.elasticsearch._types.query_dsl.Query query, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, Integer limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, boolean trackTotalHits)`
  `Result<T>`
  Result.`setScrollId(String scrollId)`
  Add ScrollId to Result
  `Result<T>`
  Result.`setTotal(long total)`
  `final Result<T>`
  Result.`setUpdatedResult(long nb)`
  Methods in fr.gouv.vitam.metadata.core.database.collections with parameters of type Result
  Modifier and Type
  Method
  Description
  `protected Result<MetadataDocument<?>>`
  DbRequest.`exactDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, int exactDepth, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one Unit Query using exact Depth
  `protected Result<MetadataDocument<?>>`
  DbRequest.`executeQuery(RequestParserMultiple requestParser, RequestToAbstract requestToMongodb, int rank, Result<MetadataDocument<?>> previous, DynamicParserTokens parserTokens)`
  Execute one request
  `protected Result<MetadataDocument<?>>`
  DbRequest.`lastDeleteFilterProjection(DeleteToMongodb requestToMongodb, Result<MetadataDocument<?>> last)`
  Finalize the queries with last True Delete
  `protected Result<MetadataDocument<?>>`
  DbRequest.`lastSelectFilterProjection(SelectToMongodb requestToMongodb, Result<MetadataDocument<?>> last, boolean checkConsistency)`
  Finalize the queries with last True Select
  `protected Result<MetadataDocument<?>>`
  DbRequest.`objectGroupQuery(Query realQuery, Result<MetadataDocument<?>> previous, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, String scrollId, Integer scrollTimeout, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth ObjectGroup Query
  `Result<T>`
  Result.`putFrom(Result<T> from)`
  Put from argument
  `ResultError`
  ResultError.`putFrom(Result<MetadataDocument<?>> from)`
  `protected Result<MetadataDocument<?>>`
  DbRequest.`relativeDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, int relativeDepth, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth Unit Query
  `protected Result<MetadataDocument<?>>`
  DbRequest.`sameDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, Integer tenantId, List<co.elastic.clients.elasticsearch._types.SortOptions> sorts, int offset, int limit, Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation> facets, String scrollId, Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)`
  Execute one relative Depth Unit Query

- ## Uses of Result in fr.gouv.vitam.metadata.core.utils

  Methods in fr.gouv.vitam.metadata.core.utils with parameters of type Result
  Modifier and Type
  Method
  Description
  `static com.fasterxml.jackson.databind.node.ArrayNode`
  MetadataJsonResponseUtils.`populateJSONObjectResponse(Result result, RequestParserMultiple selectRequest)`
  create Json response
  `static com.fasterxml.jackson.databind.node.ArrayNode`
  MetadataJsonResponseUtils.`populateJSONObjectResponse(Result result, Map<String,List<String>> diff)`
  create Json response with diff information