Interface SearchQuery
- All Known Subinterfaces:
SearchAndExpression
,SearchCompoundExpression
,SearchDateRangeExpression
,SearchDateTimeRangeExpression
,SearchExactExpression
,SearchExistsExpression
,SearchFilterExpression
,SearchFullTextExpression
,SearchFullTextPrefixExpression
,SearchLongRangeExpression
,SearchNotExpression
,SearchNumberRangeExpression
,SearchOrExpression
,SearchPrefixExpression
,SearchQueryExpression
,SearchTimeRangeExpression
,SearchWildCardExpression
public interface SearchQuery
SearchQuery
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchQuery searchQuery = SearchQuery.builder()
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchQueryBuilder
builder()
builder factory method for SearchQuerystatic SearchQueryBuilder
builder
(SearchQuery template) create builder for SearchQuery instancestatic SearchQuery
deepCopy
(SearchQuery template) factory method to create a deep copy of SearchQuerystatic SearchQuery
of()
factory methodstatic SearchQuery
of
(SearchQuery template) factory method to create a shallow copy SearchQuerystatic com.fasterxml.jackson.core.type.TypeReference<SearchQuery>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withSearchQuery
(Function<SearchQuery, T> helper) accessor map function
-
Method Details
-
of
factory method- Returns:
- instance of SearchQuery
-
of
factory method to create a shallow copy SearchQuery- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SearchQuery- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchQuery- Returns:
- builder
-
builder
create builder for SearchQuery instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchQuery
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-