Interface SearchQueryExpressionValue
- All Known Subinterfaces:
SearchAnyValue,SearchDateRangeValue,SearchDateTimeRangeValue,SearchExactValue,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 instancecopyDeep()static SearchQueryExpressionValuedeepCopy(SearchQueryExpressionValue template) factory method to create a deep copy of SearchQueryExpressionValuegetBoost()@NotNull StringgetField()Possible values for thefieldTypeproperty on simple expressions indicating the data type of thefield.static SearchQueryExpressionValueof()factory methodstatic SearchQueryExpressionValueof(SearchQueryExpressionValue template) factory method to create a shallow copy SearchQueryExpressionValuevoidset boostvoidset fieldvoidsetFieldType(SearchFieldType fieldType) Possible values for thefieldTypeproperty on simple expressions indicating the data type of thefield.static com.fasterxml.jackson.core.type.TypeReference<SearchQueryExpressionValue>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getField
- Returns:
- field
-
getBoost
Double getBoost()- Returns:
- boost
-
getFieldType
SearchFieldType getFieldType()Possible values for the
fieldTypeproperty on simple 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
fieldTypeproperty on simple 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
-
copyDeep
SearchQueryExpressionValue copyDeep() -
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
-