# Uses of Class
fr.gouv.vitam.common.database.builder.facet.Facet

Packages that use Facet
Package
Description
fr.gouv.vitam.common.database.builder.facet
Provides facet classes
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.facet
Provides facets to be used within the Vitam DSL
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.multiple
Provides database parsers for multiple query requests

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

  Subclasses of Facet in fr.gouv.vitam.common.database.builder.facet
  Modifier and Type
  Class
  Description
  `class`
  `CardinalityFacet`
  cardinality facet
  `class`
  `CountFacet`
  count facet
  `class`
  `DateRangeFacet`
  Date Range facet
  `class`
  `FiltersFacet`
  Filters facet
  `class`
  `SumFacet`
  Sum facet
  `class`
  `TermsFacet`
  Terms facet
  Methods in fr.gouv.vitam.common.database.builder.facet that return Facet
  Modifier and Type
  Method
  Description
  `static final Facet`
  FacetHelper.`cardinality(String name, String field)`
  Create a cardinality facet
  `static final Facet`
  FacetHelper.`cardinality(String name, String field, String nestdPath)`
  Create a cardinality facet
  `static final Facet`
  FacetHelper.`count(String name, String field)`
  Create a count facet
  `static final Facet`
  FacetHelper.`count(String name, String field, String nestdPath)`
  Create a count facet
  `static final Facet`
  FacetHelper.`dateRange(String name, String field, String nestedPath, String dateFormat, List<RangeFacetValue> ranges)`
  Create a date range facet
  `static final Facet`
  FacetHelper.`dateRange(String name, String field, String dateFormat, List<RangeFacetValue> ranges)`
  Create a date range facet
  `static final Facet`
  FacetHelper.`filters(String name, Map<String,Query> filters)`
  Create a filters facet
  `static final Facet`
  FacetHelper.`sum(String name, String field)`
  Create a SUM facet
  `static final Facet`
  FacetHelper.`sum(String name, String field, String nestdPath)`
  Create a sum facet
  `static final Facet`
  FacetHelper.`terms(String name, String field, Integer size, FacetOrder order)`
  Create a facet
  `static final Facet`
  FacetHelper.`terms(String name, String field, String nestdPath, Integer size, FacetOrder order)`
  Create a facet

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

  Fields in fr.gouv.vitam.common.database.builder.request.multiple with type parameters of type Facet
  Modifier and Type
  Field
  Description
  `protected List<Facet>`
  RequestMultiple.`facets`
  `protected List<Facet>`
  SelectMultiQuery.`facets`
  Facets
  Methods in fr.gouv.vitam.common.database.builder.request.multiple that return types with arguments of type Facet
  Modifier and Type
  Method
  Description
  `List<Facet>`
  RequestMultiple.`getFacets()`
  getFacets
  `final List<Facet>`
  SelectMultiQuery.`getFacets()`
  Methods in fr.gouv.vitam.common.database.builder.request.multiple with parameters of type Facet
  Modifier and Type
  Method
  Description
  `final SelectMultiQuery`
  SelectMultiQuery.`addFacets(Facet... facets)`
  `SelectMultiQuery`
  SelectMultiQuery.`setFacet(Facet facet)`
  Method parameters in fr.gouv.vitam.common.database.builder.request.multiple with type arguments of type Facet
  Modifier and Type
  Method
  Description
  `void`
  RequestMultiple.`setFacets(List<Facet> facets)`
  setFacets

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

  Fields in fr.gouv.vitam.common.database.builder.request.single with type parameters of type Facet
  Modifier and Type
  Field
  Description
  `protected List<Facet>`
  Select.`facets`
  Methods in fr.gouv.vitam.common.database.builder.request.single that return types with arguments of type Facet
  Modifier and Type
  Method
  Description
  `List<Facet>`
  Select.`getFacets()`
  getFacets
  Methods in fr.gouv.vitam.common.database.builder.request.single with parameters of type Facet
  Modifier and Type
  Method
  Description
  `final Select`
  Select.`addFacets(Facet... facets)`
  Method parameters in fr.gouv.vitam.common.database.builder.request.single with type arguments of type Facet
  Modifier and Type
  Method
  Description
  `void`
  Select.`setFacets(List<Facet> facets)`
  setFacets

- ## Uses of Facet in fr.gouv.vitam.common.database.parser.facet

  Methods in fr.gouv.vitam.common.database.parser.facet that return Facet
  Modifier and Type
  Method
  Description
  `static final Facet`
  FacetParserHelper.`cardinality(com.fasterxml.jackson.databind.JsonNode facet, VarNameAdapter adapter)`
  Transform facet jsonNode in cardinality Facet object
  `static final Facet`
  FacetParserHelper.`count(com.fasterxml.jackson.databind.JsonNode facet, VarNameAdapter adapter)`
  Transform facet jsonNode in count Facet object
  `static final Facet`
  FacetParserHelper.`dateRange(com.fasterxml.jackson.databind.JsonNode facet, VarNameAdapter adapter)`
  Transform facet jsonNode into a dateRange Facet object
  `static final Facet`
  FacetParserHelper.`filters(com.fasterxml.jackson.databind.JsonNode facet, VarNameAdapter adapter)`
  Transform facet jsonNode in filters Facet object
  `static final Facet`
  FacetParserHelper.`sum(com.fasterxml.jackson.databind.JsonNode facet, VarNameAdapter adapter)`
  Transform facet jsonNode in sum Facet object
  `static final Facet`
  FacetParserHelper.`terms(com.fasterxml.jackson.databind.JsonNode facet, VarNameAdapter adapter)`
  Transform facet jsonNode in terms Facet object

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

  Methods in fr.gouv.vitam.common.database.parser.request that return Facet
  Modifier and Type
  Method
  Description
  `protected Facet`
  AbstractParser.`analyzeOneFacet(com.fasterxml.jackson.databind.JsonNode facet, BuilderToken.FACET facetCommand)`
  Generate a Facet from a Json + command

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

  Methods in fr.gouv.vitam.common.database.parser.request.multiple that return Facet
  Modifier and Type
  Method
  Description
  `protected Facet`
  SelectParserMultiple.`analyzeOneFacet(com.fasterxml.jackson.databind.JsonNode facet, BuilderToken.FACET facetCommand)`
  Generate a Facet from a Json + command