Module org.elasticsearch.xcore
Class BertJapaneseTokenizationUpdate
java.lang.Object
org.elasticsearch.xpack.core.ml.inference.trainedmodel.AbstractTokenizationUpdate
org.elasticsearch.xpack.core.ml.inference.trainedmodel.BertJapaneseTokenizationUpdate
- All Implemented Interfaces:
NamedWriteable,Writeable,ToXContent,ToXContentObject,TokenizationUpdate,NamedXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParseFieldstatic final ConstructingObjectParser<BertJapaneseTokenizationUpdate, Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionBertJapaneseTokenizationUpdate(Tokenization.Truncate truncate, Integer span) -
Method Summary
Modifier and TypeMethodDescriptionapply(Tokenization originalConfig) fromXContent(XContentParser parser) getName()Methods inherited from class org.elasticsearch.xpack.core.ml.inference.trainedmodel.AbstractTokenizationUpdate
declareCommonParserFields, equals, getSpan, getTruncate, hashCode, isNoop, toXContent, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
NAME
-
PARSER
-
-
Constructor Details
-
BertJapaneseTokenizationUpdate
public BertJapaneseTokenizationUpdate(@Nullable Tokenization.Truncate truncate, @Nullable Integer span) -
BertJapaneseTokenizationUpdate
- Throws:
IOException
-
-
Method Details
-
fromXContent
-
apply
-
getWriteableName
-
getName
- Returns:
- The name of the XContentObject that is to be serialized
-