# Uses of Class
fr.gouv.vitam.common.database.builder.query.Query

Packages that use Query
Package
Description
fr.gouv.vitam.common.database.builder.facet
Provides facet classes
fr.gouv.vitam.common.database.builder.query
Provides query classes
fr.gouv.vitam.common.database.builder.request
Provides an abstract request class
fr.gouv.vitam.common.database.builder.request.multiple
Provides database builders for multiple query requests
fr.gouv.vitam.common.database.builder.request.single
Provides database builders for single query requests
fr.gouv.vitam.common.database.parser.query
Provides queries to be used within the Vitam DSL
fr.gouv.vitam.common.database.parser.query.helper
Provides a query helper
fr.gouv.vitam.common.database.parser.request
Provides a global and an abstract parser in order to parse requests
fr.gouv.vitam.common.database.parser.request.single
Provides database parsers for single query requests
fr.gouv.vitam.common.database.translators
Provides translators from Vitam DSL to native DSL
fr.gouv.vitam.common.database.translators.elasticsearch
Provides translators for Elasticsearch
fr.gouv.vitam.common.database.translators.mongodb
Provides translators for MongoDB
fr.gouv.vitam.metadata.core.database.collections
Provides

- ## Uses of Query in fr.gouv.vitam.common.database.builder.facet

  Method parameters in fr.gouv.vitam.common.database.builder.facet with type arguments of type Query
  Modifier and Type
  Method
  Description
  `static final Facet`
  FacetHelper.`filters(String name, Map<String,Query> filters)`
  Create a filters facet
  Constructor parameters in fr.gouv.vitam.common.database.builder.facet with type arguments of type Query
  Modifier
  Constructor
  Description
  ``
  `FiltersFacet(String name, Map<String,Query> filters)`
  Filters Facet constructor

- ## Uses of Query in fr.gouv.vitam.common.database.builder.query

  Subclasses of Query in fr.gouv.vitam.common.database.builder.query
  Modifier and Type
  Class
  Description
  `class`
  `BooleanQuery`
  Boolean Query
  `class`
  `CompareQuery`
  Compare Query
  `class`
  `ExistsQuery`
  Exists, Missing, IsNull Query
  `class`
  `InQuery`
  In and Nin queries
  `class`
  `MatchQuery`
  Match Query
  `class`
  `MltQuery`
  MoreLikeThis Query
  `class`
  `NestedQuery`
  Search Query
  `class`
  `NopQuery`
  Correspond to an nop query (like "{{'$nop':'1'}}")
  `class`
  `PathQuery`
  Path Query
  `class`
  `RangeQuery`
  Range Query
  `class`
  `SearchQuery`
  Search Query
  `class`
  `TermQuery`
  Term Query
  `class`
  `WildcardQuery`
  Wildcard Query
  Fields in fr.gouv.vitam.common.database.builder.query with type parameters of type Query
  Modifier and Type
  Field
  Description
  `protected List<Query>`
  BooleanQuery.`queries`
  Methods in fr.gouv.vitam.common.database.builder.query that return Query
  Modifier and Type
  Method
  Description
  `final Query`
  Query.`setDepthLimit(int relativedepth)`
  Relative Depth, similar to `setRelativeDepthLimit(int)`
  `final Query`
  Query.`setExactDepthLimit(int exactdepth)`
  `Query`
  Query.`setExtraInfo(int val)`
  `final Query`
  Query.`setFullText(boolean isFullText)`
  `final Query`
  Query.`setParserExactdepth(int exactdepth)`
  `final Query`
  Query.`setParserRelativeDepth(int relativedepth)`
  `protected Query`
  Query.`setReady(boolean ready)`
  `final Query`
  Query.`setRelativeDepthLimit(int relativedepth)`
  Methods in fr.gouv.vitam.common.database.builder.query that return types with arguments of type Query
  Modifier and Type
  Method
  Description
  `List<Query>`
  BooleanQuery.`getQueries()`
  Methods in fr.gouv.vitam.common.database.builder.query with parameters of type Query
  Modifier and Type
  Method
  Description
  `final BooleanQuery`
  BooleanQuery.`add(Query... queries)`
  Add sub queries to Boolean Query

- ## Uses of Query in fr.gouv.vitam.common.database.builder.request

  Methods in fr.gouv.vitam.common.database.builder.request that return types with arguments of type Query
  Modifier and Type
  Method
  Description
  `abstract List<Query>`
  AbstractRequest.`getQueries()`
  Methods in fr.gouv.vitam.common.database.builder.request with parameters of type Query
  Modifier and Type
  Method
  Description
  `abstract AbstractRequest`
  AbstractRequest.`setQuery(Query query)`
  Set the query of request: in case of multi-query request: re-initialize list of query

- ## Uses of Query in fr.gouv.vitam.common.database.builder.request.multiple

  Fields in fr.gouv.vitam.common.database.builder.request.multiple with type parameters of type Query
  Modifier and Type
  Field
  Description
  `protected List<Query>`
  RequestMultiple.`queries`
  Methods in fr.gouv.vitam.common.database.builder.request.multiple that return Query
  Modifier and Type
  Method
  Description
  `final Query`
  RequestMultiple.`getNthQuery(int nth)`
  Methods in fr.gouv.vitam.common.database.builder.request.multiple that return types with arguments of type Query
  Modifier and Type
  Method
  Description
  `final List<Query>`
  RequestMultiple.`getQueries()`
  Methods in fr.gouv.vitam.common.database.builder.request.multiple with parameters of type Query
  Modifier and Type
  Method
  Description
  `final RequestMultiple`
  RequestMultiple.`addQueries(Query... queries)`
  `RequestMultiple`
  RequestMultiple.`setQuery(Query query)`

- ## Uses of Query in fr.gouv.vitam.common.database.builder.request.single

  Fields in fr.gouv.vitam.common.database.builder.request.single declared as Query
  Modifier and Type
  Field
  Description
  `protected Query`
  RequestSingle.`query`
  Methods in fr.gouv.vitam.common.database.builder.request.single that return Query
  Modifier and Type
  Method
  Description
  `final Query`
  RequestSingle.`getQuery()`
  Methods in fr.gouv.vitam.common.database.builder.request.single that return types with arguments of type Query
  Modifier and Type
  Method
  Description
  `List<Query>`
  RequestSingle.`getQueries()`
  default implements of getQueries
  Methods in fr.gouv.vitam.common.database.builder.request.single with parameters of type Query
  Modifier and Type
  Method
  Description
  `final RequestSingle`
  RequestSingle.`setQuery(Query query)`

- ## Uses of Query in fr.gouv.vitam.common.database.parser.query

  Subclasses of Query in fr.gouv.vitam.common.database.parser.query
  Modifier and Type
  Class
  Description
  `class`
  `BooleanQuery`
  the class Boolean query
  `class`
  `CompareQuery`
  the class of compare query
  `class`
  `ExistsQuery`
  the class of exist query
  `class`
  `InQuery`
  In and Nin queries
  `class`
  `MatchQuery`
  Match query
  `class`
  `MltQuery`
  the multiple query
  `class`
  `NopQuery`
  Correspond to an nop query (like "{{'$nop':'1'}}")
  `class`
  `PathQuery`
  Path query
  `class`
  `RangeQuery`
  The range query
  `class`
  `SearchQuery`
  Search Query
  `class`
  `TermQuery`
  Term query
  `class`
  `WildcardQuery`
  Wildcard query
  Methods in fr.gouv.vitam.common.database.parser.query that return Query
  Modifier and Type
  Method
  Description
  `static final Query[]`
  QueryParserHelper.`analyzeArrayCommand(BuilderToken.QUERY query, com.fasterxml.jackson.databind.JsonNode commands, VarNameAdapter adapter)`
  Analyze an array of commands
  `static final Query`
  QueryParserHelper.`query(String refCommand, com.fasterxml.jackson.databind.JsonNode command, VarNameAdapter adapter)`
  Transform command to query

- ## Uses of Query in fr.gouv.vitam.common.database.parser.query.helper

  Subclasses of Query in fr.gouv.vitam.common.database.parser.query.helper
  Modifier and Type
  Class
  Description
  `class`
  `QueryDepthHelper`
  Helper for Parsing and Execution
  Methods in fr.gouv.vitam.common.database.parser.query.helper with parameters of type Query
  Modifier and Type
  Method
  Description
  `int`
  QueryDepthHelper.`getExactDepth(Query query)`
  For Execute operation
  `int`
  QueryDepthHelper.`getRelativeDepth(Query query)`
  For Execute operation
  `void`
  QueryDepthHelper.`setDepths(Query query, int exactDepth, int relativeDepth)`
  For Parsing operation

- ## Uses of Query in fr.gouv.vitam.common.database.parser.request

  Methods in fr.gouv.vitam.common.database.parser.request that return Query
  Modifier and Type
  Method
  Description
  `protected Query`
  AbstractParser.`analyzeOneCommand(String refCommand, com.fasterxml.jackson.databind.JsonNode command)`

- ## Uses of Query in fr.gouv.vitam.common.database.parser.request.single

  Methods in fr.gouv.vitam.common.database.parser.request.single with parameters of type Query
  Modifier and Type
  Method
  Description
  `void`
  RequestParserSingle.`addCondition(Query condition)`
  Allow to add one condition to the current parsed Request Example:

- ## Uses of Query in fr.gouv.vitam.common.database.translators

  Methods in fr.gouv.vitam.common.database.translators that return Query
  Modifier and Type
  Method
  Description
  `final Query`
  RequestToAbstract.`getNthQuery(int nth)`

- ## Uses of Query in fr.gouv.vitam.common.database.translators.elasticsearch

  Methods in fr.gouv.vitam.common.database.translators.elasticsearch with parameters of type Query
  Modifier and Type
  Method
  Description
  `static co.elastic.clients.elasticsearch._types.query_dsl.Query`
  QueryToElasticsearch.`getCommand(Query query, VarNameAdapter adapter, DynamicParserTokens parserTokens)`

- ## Uses of Query in fr.gouv.vitam.common.database.translators.mongodb

  Methods in fr.gouv.vitam.common.database.translators.mongodb with parameters of type Query
  Modifier and Type
  Method
  Description
  `static org.bson.conversions.Bson`
  QueryToMongodb.`getCommand(Query query)`
  Method parameters in fr.gouv.vitam.common.database.translators.mongodb with type arguments of type Query
  Modifier and Type
  Method
  Description
  `protected static Iterable<org.bson.conversions.Bson>`
  QueryToMongodb.`getCommands(List<Query> queries)`

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

  Methods in fr.gouv.vitam.metadata.core.database.collections with parameters of type Query
  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.`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
  `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