Class TokenDetail
java.lang.Object
co.elastic.clients.elasticsearch.indices.analyze.TokenDetail
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class TokenDetail extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTokenDetail.BuilderBuilder forTokenDetail. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TokenDetail>_DESERIALIZERJson deserializer forTokenDetail -
Constructor Summary
Constructors Constructor Description TokenDetail(TokenDetail.Builder builder)TokenDetail(java.util.function.Function<TokenDetail.Builder,TokenDetail.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringname()Required - API name:namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTokenDetailDeserializer(DelegatingDeserializer<TokenDetail.Builder> op)java.util.List<ExplainAnalyzeToken>tokens()Required - API name:tokensMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTokenDetail
-
-
Constructor Details
-
TokenDetail
-
TokenDetail
-
-
Method Details
-
name
public java.lang.String name()Required - API name:name -
tokens
Required - API name:tokens -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTokenDetailDeserializer
-