Uses of Class
fr.gouv.vitam.common.database.collections.DynamicParserTokens
-
Packages that use DynamicParserTokens Package Description fr.gouv.vitam.common.database.server Database server package in vitamfr.gouv.vitam.common.database.translators.elasticsearch Provides translators for Elasticsearchfr.gouv.vitam.metadata.core.database.collections Provides -
-
Uses of DynamicParserTokens in fr.gouv.vitam.common.database.server
Constructors in fr.gouv.vitam.common.database.server with parameters of type DynamicParserTokens Constructor Description MongoDbInMemory(com.fasterxml.jackson.databind.JsonNode originalDocument, DynamicParserTokens parserTokens)
-
Uses of DynamicParserTokens in fr.gouv.vitam.common.database.translators.elasticsearch
Methods in fr.gouv.vitam.common.database.translators.elasticsearch with parameters of type DynamicParserTokens Modifier and Type Method Description static org.elasticsearch.index.query.QueryBuilder
QueryToElasticsearch. getCommand(Query query, VarNameAdapter adapter, DynamicParserTokens parserTokens)
static java.util.List<org.elasticsearch.search.aggregations.AggregationBuilder>
QueryToElasticsearch. getFacets(AbstractParser<?> requestParser, DynamicParserTokens parserTokens)
Create ES facets from request parserjava.util.List<org.elasticsearch.search.sort.SortBuilder<?>>
SelectToElasticsearch. getFinalOrderBy(boolean score, DynamicParserTokens parserTokens)
FindIterable.sort(orderby) for Elasticsearchorg.elasticsearch.index.query.QueryBuilder
RequestToElasticsearch. getNthQueries(int nth, VarNameAdapter adapter, DynamicParserTokens parserTokens)
find(query)static java.util.List<org.elasticsearch.search.sort.SortBuilder<?>>
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
Methods in fr.gouv.vitam.metadata.core.database.collections with parameters of type DynamicParserTokens Modifier and Type Method Description protected Result<MetadataDocument<?>>
DbRequest. exactDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, int exactDepth, java.lang.Integer tenantId, java.util.List<org.elasticsearch.search.sort.SortBuilder<?>> sorts, int offset, int limit, java.util.List<org.elasticsearch.search.aggregations.AggregationBuilder> facets, java.lang.String scrollId, java.lang.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, java.lang.Integer tenantId, java.util.List<org.elasticsearch.search.sort.SortBuilder<?>> sorts, int offset, int limit, java.lang.String scrollId, java.lang.Integer scrollTimeout, java.util.List<org.elasticsearch.search.aggregations.AggregationBuilder> facets, DynamicParserTokens parserTokens, boolean trackTotalHits)
Execute one relative Depth ObjectGroup Queryprotected Result<MetadataDocument<?>>
DbRequest. relativeDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, int relativeDepth, java.lang.Integer tenantId, java.util.List<org.elasticsearch.search.sort.SortBuilder<?>> sorts, int offset, int limit, java.util.List<org.elasticsearch.search.aggregations.AggregationBuilder> facets, java.lang.String scrollId, java.lang.Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)
Execute one relative Depth Unit Queryprotected Result<MetadataDocument<?>>
DbRequest. sameDepthUnitQuery(Query realQuery, Result<MetadataDocument<?>> previous, java.lang.Integer tenantId, java.util.List<org.elasticsearch.search.sort.SortBuilder<?>> sorts, int offset, int limit, java.util.List<org.elasticsearch.search.aggregations.AggregationBuilder> facets, java.lang.String scrollId, java.lang.Integer scrollTimeout, DynamicParserTokens parserTokens, boolean trackTotalHits)
Execute one relative Depth Unit Query
-