Class ExplainAnalyzeToken
java.lang.Object
co.elastic.clients.elasticsearch.indices.analyze.ExplainAnalyzeToken
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ExplainAnalyzeToken extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExplainAnalyzeToken.Builder
Builder forExplainAnalyzeToken
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ExplainAnalyzeToken>
_DESERIALIZER
Json deserializer forExplainAnalyzeToken
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,JsonData>
attributes()
Additional tokenizer-specific attributesjava.lang.String
bytes()
Required - API name:bytes
long
endOffset()
Required - API name:end_offset
java.lang.Boolean
keyword()
API name:keyword
static ExplainAnalyzeToken
of(java.util.function.Function<ExplainAnalyzeToken.Builder,ObjectBuilder<ExplainAnalyzeToken>> fn)
long
position()
Required - API name:position
long
positionlength()
Required - API name:positionLength
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupExplainAnalyzeTokenDeserializer(ObjectDeserializer<ExplainAnalyzeToken.Builder> op)
long
startOffset()
Required - API name:start_offset
long
termfrequency()
Required - API name:termFrequency
java.lang.String
token()
Required - API name:token
java.lang.String
toString()
java.lang.String
type()
Required - API name:type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forExplainAnalyzeToken
-
-
Method Details
-
of
public static ExplainAnalyzeToken of(java.util.function.Function<ExplainAnalyzeToken.Builder,ObjectBuilder<ExplainAnalyzeToken>> fn) -
attributes
Additional tokenizer-specific attributes -
bytes
public final java.lang.String bytes()Required - API name:bytes
-
endOffset
public final long endOffset()Required - API name:end_offset
-
keyword
@Nullable public final java.lang.Boolean keyword()API name:keyword
-
position
public final long position()Required - API name:position
-
positionlength
public final long positionlength()Required - API name:positionLength
-
startOffset
public final long startOffset()Required - API name:start_offset
-
termfrequency
public final long termfrequency()Required - API name:termFrequency
-
token
public final java.lang.String token()Required - API name:token
-
type
public final java.lang.String type()Required - API name:type
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupExplainAnalyzeTokenDeserializer
protected static void setupExplainAnalyzeTokenDeserializer(ObjectDeserializer<ExplainAnalyzeToken.Builder> op)
-