# Uses of Class
fr.gouv.vitam.common.database.parser.request.AbstractParser

Packages that use AbstractParser
Package
Description
fr.gouv.vitam.common.database.parser.request.multiple
Provides database parsers for multiple query requests
fr.gouv.vitam.common.database.parser.request.single
Provides database parsers for single query requests
fr.gouv.vitam.common.database.server
Database server package in vitam
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

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

  Subclasses of AbstractParser in fr.gouv.vitam.common.database.parser.request.multiple
  Modifier and Type
  Class
  Description
  `class`
  `DeleteParserMultiple`
  Delete Parser: { $roots: roots, $query : query, $filter : multi }
  `class`
  `InsertParserMultiple`
  Insert Parser: { $roots: root, $query : query, $filter : filter, $data : data}
  `class`
  `RequestParserMultiple`
  Partial Request Parser (common base): { $roots: root, $query : query, $filter : filter }
  `class`
  `SelectParserMultiple`
  Select Parser: { $roots: roots, $query : query, $filter : filter, $projection : projection }
  `class`
  `UpdateParserMultiple`
  Update Parser: { $roots: root, $query : query, $filter : filter, $action : action }

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

  Subclasses of AbstractParser in fr.gouv.vitam.common.database.parser.request.single
  Modifier and Type
  Class
  Description
  `class`
  `DeleteParserSingle`
  Delete Parser: { $query : query, $filter : multi }
  `class`
  `InsertParserSingle`
  Insert Parser: { $query : query, $filter : filter, $data : data}
  `class`
  `RequestParserSingle`
  Single Request Parser (common base) { $query : query, $filter : filter }
  `class`
  `SelectParserSingle`
  Select Parser: { $query : query, $filter : filter, $projection : projection }
  `class`
  `UpdateParserSingle`
  Select Parser: { $query : query, $filter : filter, $actions : actions }

- ## Uses of AbstractParser in fr.gouv.vitam.common.database.server

  Methods in fr.gouv.vitam.common.database.server with parameters of type AbstractParser
  Modifier and Type
  Method
  Description
  `com.fasterxml.jackson.databind.JsonNode`
  MongoDbInMemory.`getUpdateJson(AbstractParser<?> requestParser)`
  Update the originalDocument with the given parser (containing the request)

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

  Fields in fr.gouv.vitam.common.database.translators declared as AbstractParser
  Modifier and Type
  Field
  Description
  `protected AbstractParser<?>`
  RequestToAbstract.`requestParser`
  Methods in fr.gouv.vitam.common.database.translators that return AbstractParser
  Modifier and Type
  Method
  Description
  `AbstractParser<?>`
  RequestToAbstract.`getRequestParser()`
  Constructors in fr.gouv.vitam.common.database.translators with parameters of type AbstractParser
  Modifier
  Constructor
  Description
  ``
  `RequestToAbstract(AbstractParser<?> requestParser)`

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

  Methods in fr.gouv.vitam.common.database.translators.elasticsearch with parameters of type AbstractParser
  Modifier and Type
  Method
  Description
  `static Map<String,co.elastic.clients.elasticsearch._types.aggregations.Aggregation>`
  QueryToElasticsearch.`getFacets(AbstractParser<?> requestParser, DynamicParserTokens parserTokens)`
  Create ES facets from request parser
  `static RequestToElasticsearch`
  RequestToElasticsearch.`getRequestToElasticsearch(AbstractParser<?> requestParser)`
  Create the RequestToElasticsearch adapted to the RequestParser
  `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
  Constructors in fr.gouv.vitam.common.database.translators.elasticsearch with parameters of type AbstractParser
  Modifier
  Constructor
  Description
  ``
  `RequestToElasticsearch(AbstractParser<?> requestParser)`
  ``
  `SelectToElasticsearch(AbstractParser<?> selectParser)`

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

  Methods in fr.gouv.vitam.common.database.translators.mongodb with parameters of type AbstractParser
  Modifier and Type
  Method
  Description
  `static RequestToMongodb`
  RequestToMongodb.`getRequestToMongoDb(AbstractParser<?> requestParser)`
  Create the RequestToMongoDB adapted to the RequestParser
  Constructors in fr.gouv.vitam.common.database.translators.mongodb with parameters of type AbstractParser
  Modifier
  Constructor
  Description
  ``
  `DeleteToMongodb(AbstractParser<?> deleteParser)`
  ``
  `InsertToMongodb(AbstractParser<?> insertParser)`
  ``
  `RequestToMongodb(AbstractParser<?> requestParser)`
  ``
  `SelectToMongodb(AbstractParser<?> selectParser)`
  ``
  `UpdateToMongodb(AbstractParser<?> updateParser)`