Class TermVector
java.lang.Object
co.elastic.clients.elasticsearch._core.termvectors.TermVector
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class TermVector extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TermVector.Builder
Builder forTermVector
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TermVector>
_DESERIALIZER
Json deserializer forTermVector
-
Constructor Summary
Constructors Constructor Description TermVector(TermVector.Builder builder)
TermVector(java.util.function.Function<TermVector.Builder,TermVector.Builder> fn)
-
Method Summary
Modifier and Type Method Description FieldStatistics
fieldStatistics()
Required - API name:field_statistics
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
setupTermVectorDeserializer(DelegatingDeserializer<TermVector.Builder> op)
java.util.Map<java.lang.String,Term>
terms()
Required - API name:terms
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTermVector
-
-
Constructor Details
-
TermVector
-
TermVector
-
-
Method Details
-
fieldStatistics
Required - API name:field_statistics
-
terms
Required - API name:terms
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTermVectorDeserializer
-