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 classTermVector.BuilderBuilder forTermVector. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TermVector>_DESERIALIZERJson 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 FieldStatisticsfieldStatistics()Required - API name:field_statisticsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTermVectorDeserializer(DelegatingDeserializer<TermVector.Builder> op)java.util.Map<java.lang.String,Term>terms()Required - API name:termsMethods 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTermVectorDeserializer
-