Class ChineseAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ChineseAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.ChineseAnalyzer.Builder
- All Implemented Interfaces:
WithJson<ChineseAnalyzer.Builder>,ObjectBuilder<ChineseAnalyzer>
- Enclosing class:
- ChineseAnalyzer
public static class ChineseAnalyzer.Builder
extends WithJsonObjectBuilderBase<ChineseAnalyzer.Builder>
implements ObjectBuilder<ChineseAnalyzer>
Builder for
ChineseAnalyzer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aChineseAnalyzer.protected ChineseAnalyzer.Builderself()final ChineseAnalyzer.BuilderAPI name:stopwordsfinal ChineseAnalyzer.BuilderAPI name:stopwordsfinal ChineseAnalyzer.BuilderstopwordsPath(String value) API name:stopwords_pathMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stopwords
API name:stopwordsAdds all elements of
listtostopwords. -
stopwords
API name:stopwordsAdds one or more values to
stopwords. -
stopwordsPath
API name:stopwords_path -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ChineseAnalyzer.Builder>
-
build
Builds aChineseAnalyzer.- Specified by:
buildin interfaceObjectBuilder<ChineseAnalyzer>- Throws:
NullPointerException- if some of the required fields are null.
-