Module org.elasticsearch.xcore
Class BertTokenizationUpdate
java.lang.Object
org.elasticsearch.xpack.core.ml.inference.trainedmodel.AbstractTokenizationUpdate
org.elasticsearch.xpack.core.ml.inference.trainedmodel.BertTokenizationUpdate
- All Implemented Interfaces:
NamedWriteable,Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject,TokenizationUpdate,NamedXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.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 org.elasticsearch.xcontent.ParseFieldstatic org.elasticsearch.xcontent.ConstructingObjectParser<BertTokenizationUpdate, Void> Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(Tokenization originalConfig) static BertTokenizationUpdatefromXContent(org.elasticsearch.xcontent.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
public static final org.elasticsearch.xcontent.ParseField NAME -
PARSER
public static org.elasticsearch.xcontent.ConstructingObjectParser<BertTokenizationUpdate,Void> PARSER
-
-
Constructor Details
-
BertTokenizationUpdate
-
BertTokenizationUpdate
- Throws:
IOException
-
-
Method Details
-
fromXContent
-
apply
-
getWriteableName
-
getName
- Returns:
- The name of the XContentObject that is to be serialized
-