Interface SearchQueryExpressionValue
- All Known Subinterfaces:
SearchAnyValue
,SearchDateRangeValue
,SearchDateTimeRangeValue
,SearchExistsValue
,SearchFullTextPrefixValue
,SearchFullTextValue
,SearchLongRangeValue
,SearchNumberRangeValue
,SearchTimeRangeValue
public interface SearchQueryExpressionValue
SearchQueryExpressionValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchQueryExpressionValue searchQueryExpressionValue = SearchQueryExpressionValue.builder()
.field("{field}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for SearchQueryExpressionValuebuilder
(SearchQueryExpressionValue template) create builder for SearchQueryExpressionValue instancestatic SearchQueryExpressionValue
deepCopy
(SearchQueryExpressionValue template) factory method to create a deep copy of SearchQueryExpressionValuegetBoost()
@NotNull String
getField()
Possible values for thefieldType
property on query expressions indicating the data type of thefield
.static SearchQueryExpressionValue
of()
factory methodstatic SearchQueryExpressionValue
of
(SearchQueryExpressionValue template) factory method to create a shallow copy SearchQueryExpressionValuevoid
set boostvoid
set fieldvoid
setFieldType
(SearchFieldType fieldType) Possible values for thefieldType
property on query expressions indicating the data type of thefield
.static com.fasterxml.jackson.core.type.TypeReference<SearchQueryExpressionValue>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
accessor map function
-
Method Details
-
getField
- Returns:
- field
-
getBoost
Double getBoost()- Returns:
- boost
-
getFieldType
SearchFieldType getFieldType()Possible values for the
fieldType
property on query expressions indicating the data type of thefield
.- Returns:
- fieldType
-
setField
set field- Parameters:
field
- value to be set
-
setBoost
set boost- Parameters:
boost
- value to be set
-
setFieldType
Possible values for the
fieldType
property on query expressions indicating the data type of thefield
.- Parameters:
fieldType
- value to be set
-
of
factory method- Returns:
- instance of SearchQueryExpressionValue
-
of
factory method to create a shallow copy SearchQueryExpressionValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of SearchQueryExpressionValue- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchQueryExpressionValue- Returns:
- builder
-
builder
create builder for SearchQueryExpressionValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withSearchQueryExpressionValue
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
-