Uses of Class
fr.gouv.vitam.common.database.collections.DynamicParserTokens
Package
Description
Database server package in vitam
Provides translators for Elasticsearch
Provides
-
Uses of DynamicParserTokens in fr.gouv.vitam.common.database.server
ModifierConstructorDescriptionMongoDbInMemory
(com.fasterxml.jackson.databind.JsonNode originalDocument, DynamicParserTokens parserTokens) -
Uses of DynamicParserTokens in fr.gouv.vitam.common.database.translators.elasticsearch
Modifier and TypeMethodDescriptionstatic co.elastic.clients.elasticsearch._types.query_dsl.Query
QueryToElasticsearch.getCommand
(Query query, VarNameAdapter adapter, DynamicParserTokens parserTokens) QueryToElasticsearch.getFacets
(AbstractParser<?> requestParser, DynamicParserTokens parserTokens) Create ES facets from request parserList<co.elastic.clients.elasticsearch._types.SortOptions>
SelectToElasticsearch.getFinalOrderBy
(boolean score, DynamicParserTokens parserTokens) FindIterable.sort(orderby) for Elasticsearchco.elastic.clients.elasticsearch._types.query_dsl.Query
RequestToElasticsearch.getNthQueries
(int nth, VarNameAdapter adapter, DynamicParserTokens parserTokens) find(query)static List<co.elastic.clients.elasticsearch._types.SortOptions>
QueryToElasticsearch.getSorts
(AbstractParser<?> requestParser, boolean score, DynamicParserTokens parserTokens) Generate sort list from order by ES query orders : {field1 : -1, field2 : 1} or [{field1 : -1, field2 : 1},{field3 : -1}]
Note : if the query contains a match and the collection allows to use score, the socre is added to the sort
-
Uses of DynamicParserTokens in fr.gouv.vitam.metadata.core.database.collections
Modifier and TypeMethodDescriptionprotected 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 Depthprotected Result<MetadataDocument<?>>
DbRequest.executeQuery
(RequestParserMultiple requestParser, RequestToAbstract requestToMongodb, int rank, Result<MetadataDocument<?>> previous, DynamicParserTokens parserTokens) Execute one requestprotected 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 Queryprotected 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 Queryprotected 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