Interface SearchFullTextPrefixValue
- All Superinterfaces:
SearchQueryExpressionValue
SearchFullTextPrefixValue
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchFullTextPrefixValue searchFullTextPrefixValue = SearchFullTextPrefixValue.builder()
.field("{field}")
.build()
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for SearchFullTextPrefixValuebuilder(SearchFullTextPrefixValue template) create builder for SearchFullTextPrefixValue instancecopyDeep()static SearchFullTextPrefixValuedeepCopy(SearchFullTextPrefixValue template) factory method to create a deep copy of SearchFullTextPrefixValueString value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47.@NotNull ObjectgetValue()static SearchFullTextPrefixValueof()factory methodstatic SearchFullTextPrefixValueof(SearchFullTextPrefixValue template) factory method to create a shallow copy SearchFullTextPrefixValuevoidsetLanguage(String language) String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47.voidsetMustMatch(SearchMatchType mustMatch) set mustMatchvoidset valuestatic com.fasterxml.jackson.core.type.TypeReference<SearchFullTextPrefixValue>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.search.SearchQueryExpressionValue
getBoost, getField, getFieldType, setBoost, setField, setFieldType, withSearchQueryExpressionValue
-
Method Details
-
getValue
- Returns:
- value
-
getLanguage
String getLanguage()String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47. The format combines language, script, and region using hyphen-separated subtags. For example:
en,en-US,zh-Hans-SG.- Returns:
- language
-
getMustMatch
SearchMatchType getMustMatch()- Returns:
- mustMatch
-
setValue
set value- Parameters:
value- value to be set
-
setLanguage
String value specifying linguistic and regional preferences using the IETF language tag format, as described in BCP 47. The format combines language, script, and region using hyphen-separated subtags. For example:
en,en-US,zh-Hans-SG.- Parameters:
language- value to be set
-
setMustMatch
set mustMatch- Parameters:
mustMatch- value to be set
-
of
factory method- Returns:
- instance of SearchFullTextPrefixValue
-
of
factory method to create a shallow copy SearchFullTextPrefixValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
SearchFullTextPrefixValue copyDeep()- Specified by:
copyDeepin interfaceSearchQueryExpressionValue
-
deepCopy
factory method to create a deep copy of SearchFullTextPrefixValue- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for SearchFullTextPrefixValue- Returns:
- builder
-
builder
create builder for SearchFullTextPrefixValue instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withSearchFullTextPrefixValue
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
-