Class DistinctFacetParameter<T>
java.lang.Object
com.loop54.model.request.parameters.facets.FacetParameter
com.loop54.model.request.parameters.facets.DistinctFacetParameter<T>
- Type Parameters:
T- Type of the attribute to facet on.
Used for distinct faceting of entities. A distinct facet consists of a finite number of
options with the number of connected entities as the values. Only entities connected to selected
facet options are returned. Or all if none are selected.
-
Field Summary
FieldsModifier and TypeFieldDescriptionWhat options the user has selected.These sorting parameters specify how the options are to be sorted in the response.Fields inherited from class com.loop54.model.request.parameters.facets.FacetParameter
attributeName, name -
Constructor Summary
ConstructorsConstructorDescriptionDistinctFacetParameter(String attributeName, List<T> selected, String name, List<DistinctFacetItemSortingParameter> sortBy) -
Method Summary
-
Field Details
-
selected
What options the user has selected. Only entities belonging to those options will be returned. -
sortBy
These sorting parameters specify how the options are to be sorted in the response.
-
-
Constructor Details
-
DistinctFacetParameter
-
-
Method Details
-
getType
Description copied from class:FacetParameterType of the facet. Range or Distinct.- Specified by:
getTypein classFacetParameter- Returns:
- The type of the facet parameter. Will always be
FacetType.DISTINCT
-