T
- type of the search resultC
- type of the class implementing this classS
- type of the search modelF
- type of the facet modelE
- type of the expansion modelpublic final class MetaModelSearchDslBuilder<T,C extends MetaModelSearchDsl<T,C,S,L,F,E>,S,L,F,E> extends Base implements Builder<C>
Modifier and Type | Field and Description |
---|---|
protected List<NameValuePair> |
additionalQueryParameters |
protected String |
endpoint |
protected E |
expansionModel |
protected List<ExpansionPath<T>> |
expansionPaths |
protected List<FacetedSearchExpression<T>> |
facetedSearch |
protected List<FilterExpression<T>> |
facetFilters |
protected F |
facetModel |
protected List<FacetExpression<T>> |
facets |
protected L |
filterModel |
protected Boolean |
fuzzy |
protected Integer |
fuzzyLevel |
protected Long |
limit |
protected Long |
offset |
protected List<FilterExpression<T>> |
queryFilters |
protected List<FilterExpression<T>> |
resultFilters |
protected Function<HttpResponse,PagedSearchResult<T>> |
resultMapper |
protected Function<MetaModelSearchDslBuilder<T,C,S,L,F,E>,C> |
searchDslBuilderFunction |
protected List<SortExpression<T>> |
sort |
protected S |
sortModel |
protected LocalizedStringEntry |
text |
Constructor and Description |
---|
MetaModelSearchDslBuilder(MetaModelSearchDslImpl<T,C,S,L,F,E> template) |
MetaModelSearchDslBuilder(String endpoint,
Function<HttpResponse,PagedSearchResult<T>> resultMapper,
S sortModel,
L filterModel,
F facetModel,
E expansionModel,
Function<MetaModelSearchDslBuilder<T,C,S,L,F,E>,C> searchDslBuilderFunction) |
@Nullable protected LocalizedStringEntry text
protected List<FacetExpression<T>> facets
protected List<FilterExpression<T>> resultFilters
protected List<FilterExpression<T>> queryFilters
protected List<FilterExpression<T>> facetFilters
protected List<FacetedSearchExpression<T>> facetedSearch
protected List<SortExpression<T>> sort
protected List<ExpansionPath<T>> expansionPaths
protected List<NameValuePair> additionalQueryParameters
protected final String endpoint
protected final Function<HttpResponse,PagedSearchResult<T>> resultMapper
protected final S sortModel
protected final L filterModel
protected final F facetModel
protected final E expansionModel
public MetaModelSearchDslBuilder(String endpoint, Function<HttpResponse,PagedSearchResult<T>> resultMapper, S sortModel, L filterModel, F facetModel, E expansionModel, Function<MetaModelSearchDslBuilder<T,C,S,L,F,E>,C> searchDslBuilderFunction)
public MetaModelSearchDslBuilder<T,C,S,L,F,E> text(@Nullable LocalizedStringEntry text)
public MetaModelSearchDslBuilder<T,C,S,L,F,E> facets(List<FacetExpression<T>> facets)
public MetaModelSearchDslBuilder<T,C,S,L,F,E> resultFilters(List<FilterExpression<T>> resultFilters)
public MetaModelSearchDslBuilder<T,C,S,L,F,E> queryFilters(List<FilterExpression<T>> queryFilters)
public MetaModelSearchDslBuilder<T,C,S,L,F,E> facetFilters(List<FilterExpression<T>> facetFilters)
public MetaModelSearchDslBuilder<T,C,S,L,F,E> facetedSearch(List<FacetedSearchExpression<T>> facetedSearch)
public MetaModelSearchDslBuilder<T,C,S,L,F,E> sort(List<SortExpression<T>> sort)
public MetaModelSearchDslBuilder<T,C,S,L,F,E> expansionPaths(List<ExpansionPath<T>> expansionPaths)
public MetaModelSearchDslBuilder<T,C,S,L,F,E> additionalQueryParameters(List<NameValuePair> additionalQueryParameters)