public static class SearchCriteria.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SearchCriteria |
build() |
SearchCriteria.Builder |
copy(SearchCriteria model) |
SearchCriteria.Builder |
dimensions(List<String> dimensions)
List of properties of dataObjects that needs to aggregated on for facets.
|
SearchCriteria.Builder |
facetedQuery(String facetedQuery)
Query string that a dataObject is to be searched with.
|
SearchCriteria.Builder |
filters(FacetedSearchFilterRequest filters) |
SearchCriteria.Builder |
query(String query)
Search query dsl that defines the query components including fields and predicates.
|
SearchCriteria.Builder |
sort(List<FacetedSearchSortRequest> sort)
Array of objects having details about sort field and order.
|
public SearchCriteria.Builder query(String query)
Search query dsl that defines the query components including fields and predicates.
query
- the value to setpublic SearchCriteria.Builder facetedQuery(String facetedQuery)
Query string that a dataObject is to be searched with. Used in the faceted query request
facetedQuery
- the value to setpublic SearchCriteria.Builder dimensions(List<String> dimensions)
List of properties of dataObjects that needs to aggregated on for facets.
dimensions
- the value to setpublic SearchCriteria.Builder sort(List<FacetedSearchSortRequest> sort)
Array of objects having details about sort field and order.
sort
- the value to setpublic SearchCriteria.Builder filters(FacetedSearchFilterRequest filters)
public SearchCriteria build()
public SearchCriteria.Builder copy(SearchCriteria model)
Copyright © 2016–2024. All rights reserved.