Class InitializingAutoSuggestDataSet.InitializingAutoSuggestDataSetBuilder
java.lang.Object
com.foreach.across.modules.entity.autosuggest.InitializingAutoSuggestDataSet.InitializingAutoSuggestDataSetBuilder
- Enclosing class:
- InitializingAutoSuggestDataSet
public static class InitializingAutoSuggestDataSet.InitializingAutoSuggestDataSetBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
initialized
(boolean initialized) initializer
(Consumer<InitializingAutoSuggestDataSet> initializer) prefetchLoader
(Function<String, Object> prefetchLoader) resultTransformer
(AutoSuggestDataSet.ResultTransformer resultTransformer) suggestionsLoader
(@NonNull BiFunction<String, String, Object> suggestionsLoader) toString()
-
Method Details
-
initializer
public InitializingAutoSuggestDataSet.InitializingAutoSuggestDataSetBuilder initializer(Consumer<InitializingAutoSuggestDataSet> initializer) - Returns:
this
.
-
suggestionsLoader
public InitializingAutoSuggestDataSet.InitializingAutoSuggestDataSetBuilder suggestionsLoader(@NonNull @NonNull BiFunction<String, String, Object> suggestionsLoader) - Returns:
this
.
-
prefetchLoader
public InitializingAutoSuggestDataSet.InitializingAutoSuggestDataSetBuilder prefetchLoader(Function<String, Object> prefetchLoader) - Returns:
this
.
-
resultTransformer
public InitializingAutoSuggestDataSet.InitializingAutoSuggestDataSetBuilder resultTransformer(@NonNull AutoSuggestDataSet.ResultTransformer resultTransformer) - Returns:
this
.
-
initialized
public InitializingAutoSuggestDataSet.InitializingAutoSuggestDataSetBuilder initialized(boolean initialized) - Returns:
this
.
-
build
-
toString
-