Interface OrderSearchQueryExpressionValue
- All Known Subinterfaces:
OrderSearchAnyValue,OrderSearchDateRangeValue,OrderSearchFullTextValue,OrderSearchLongRangeValue,OrderSearchNumberRangeValue,OrderSearchStringValue
public interface OrderSearchQueryExpressionValue
OrderSearchQueryExpressionValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
OrderSearchQueryExpressionValue orderSearchQueryExpressionValue = OrderSearchQueryExpressionValue.builder()
.field("{field}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for OrderSearchQueryExpressionValuebuilder(OrderSearchQueryExpressionValue template) create builder for OrderSearchQueryExpressionValue instancecopyDeep()deepCopy(OrderSearchQueryExpressionValue template) factory method to create a deep copy of OrderSearchQueryExpressionValuegetBoost()Possible values for thecustomTypeproperty on simple expressions indicating the data type of thefield.@NotNull StringgetField()of()factory methodof(OrderSearchQueryExpressionValue template) factory method to create a shallow copy OrderSearchQueryExpressionValuevoidset boostvoidsetCustomType(OrderSearchCustomType customType) Possible values for thecustomTypeproperty on simple expressions indicating the data type of thefield.voidset fieldstatic com.fasterxml.jackson.core.type.TypeReference<OrderSearchQueryExpressionValue>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map function
-
Method Details
-
getField
- Returns:
- field
-
getBoost
Integer getBoost()- Returns:
- boost
-
getCustomType
OrderSearchCustomType getCustomType()Possible values for the
customTypeproperty on simple expressions indicating the data type of thefield.- Returns:
- customType
-
setField
set field- Parameters:
field- value to be set
-
setBoost
set boost- Parameters:
boost- value to be set
-
setCustomType
Possible values for the
customTypeproperty on simple expressions indicating the data type of thefield.- Parameters:
customType- value to be set
-
of
factory method- Returns:
- instance of OrderSearchQueryExpressionValue
-
of
factory method to create a shallow copy OrderSearchQueryExpressionValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
OrderSearchQueryExpressionValue copyDeep() -
deepCopy
@Nullable static OrderSearchQueryExpressionValue deepCopy(@Nullable OrderSearchQueryExpressionValue template) factory method to create a deep copy of OrderSearchQueryExpressionValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for OrderSearchQueryExpressionValue- Returns:
- builder
-
builder
create builder for OrderSearchQueryExpressionValue instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withOrderSearchQueryExpressionValue
default <T> T withOrderSearchQueryExpressionValue(Function<OrderSearchQueryExpressionValue, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<OrderSearchQueryExpressionValue> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-