Interface CustomTokenizer
- All Superinterfaces:
SuggestTokenizer
CustomTokenizer
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomTokenizer customTokenizer = CustomTokenizer.builder()
.plusInputs(inputsBuilder -> inputsBuilder)
.build()
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CustomTokenizerBuilder
builder()
builder factory method for CustomTokenizerstatic CustomTokenizerBuilder
builder
(CustomTokenizer template) create builder for CustomTokenizer instancestatic CustomTokenizer
deepCopy
(CustomTokenizer template) factory method to create a deep copy of CustomTokenizerstatic CustomTokenizer
of()
factory methodstatic CustomTokenizer
of
(CustomTokenizer template) factory method to create a shallow copy CustomTokenizervoid
set inputsvoid
set inputsstatic com.fasterxml.jackson.core.type.TypeReference<CustomTokenizer>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withCustomTokenizer
(Function<CustomTokenizer, T> helper) accessor map functionMethods inherited from interface com.commercetools.importapi.models.products.SuggestTokenizer
getType, withSuggestTokenizer
-
Field Details
-
CUSTOM
discriminator value for CustomTokenizer- See Also:
-
-
Method Details
-
getInputs
- Returns:
- inputs
-
setInputs
set inputs- Parameters:
inputs
- values to be set
-
setInputs
set inputs- Parameters:
inputs
- values to be set
-
of
factory method- Returns:
- instance of CustomTokenizer
-
of
factory method to create a shallow copy CustomTokenizer- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of CustomTokenizer- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for CustomTokenizer- Returns:
- builder
-
builder
create builder for CustomTokenizer instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withCustomTokenizer
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
-