Class SearchLongRangeValueBuilder
java.lang.Object
com.commercetools.api.models.search.SearchLongRangeValueBuilder
- All Implemented Interfaces:
Builder<SearchLongRangeValue>
SearchLongRangeValueBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchLongRangeValue searchLongRangeValue = SearchLongRangeValue.builder()
.field("{field}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionset the value to the boostbuild()
builds SearchLongRangeValue with checking for non-null required valuesbuilds SearchLongRangeValue without checking for non-null required valuesset the value to the fieldfieldType
(SearchFieldType fieldType) Possible values for thefieldType
property on query expressions indicating the data type of thefield
.getBoost()
value of boost}getField()
value of field}Possible values for thefieldType
property on query expressions indicating the data type of thefield
.getGt()
value of gt}getGte()
value of gte}getLt()
value of lt}getLte()
value of lte}set the value to the gtset the value to the gteset the value to the ltset the value to the ltestatic SearchLongRangeValueBuilder
of()
factory method for an instance of SearchLongRangeValueBuilderstatic SearchLongRangeValueBuilder
of
(SearchLongRangeValue template) create builder for SearchLongRangeValue instance
-
Constructor Details
-
SearchLongRangeValueBuilder
public SearchLongRangeValueBuilder()
-
-
Method Details
-
field
set the value to the field- Parameters:
field
- value to be set- Returns:
- Builder
-
boost
set the value to the boost- Parameters:
boost
- value to be set- Returns:
- Builder
-
fieldType
Possible values for the
fieldType
property on query expressions indicating the data type of thefield
.- Parameters:
fieldType
- value to be set- Returns:
- Builder
-
gte
set the value to the gte- Parameters:
gte
- value to be set- Returns:
- Builder
-
gt
set the value to the gt- Parameters:
gt
- value to be set- Returns:
- Builder
-
lte
set the value to the lte- Parameters:
lte
- value to be set- Returns:
- Builder
-
lt
set the value to the lt- Parameters:
lt
- value to be set- Returns:
- Builder
-
getField
value of field}- Returns:
- field
-
getBoost
value of boost}- Returns:
- boost
-
getFieldType
Possible values for the
fieldType
property on query expressions indicating the data type of thefield
.- Returns:
- fieldType
-
getGte
value of gte}- Returns:
- gte
-
getGt
value of gt}- Returns:
- gt
-
getLte
value of lte}- Returns:
- lte
-
getLt
value of lt}- Returns:
- lt
-
build
builds SearchLongRangeValue with checking for non-null required values- Specified by:
build
in interfaceBuilder<SearchLongRangeValue>
- Returns:
- SearchLongRangeValue
-
buildUnchecked
builds SearchLongRangeValue without checking for non-null required values- Returns:
- SearchLongRangeValue
-
of
factory method for an instance of SearchLongRangeValueBuilder- Returns:
- builder
-
of
create builder for SearchLongRangeValue instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-