Class TopHit
java.lang.Object
co.elastic.clients.elasticsearch.text_structure.TopHit
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TopHit>
Json deserializer forTopHit
-
Method Summary
Modifier and TypeMethodDescriptionfinal long
count()
Required - API name:count
static TopHit
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
toString()
final JsonData
value()
Required - API name:value
-
Field Details
-
_DESERIALIZER
Json deserializer forTopHit
-
-
Method Details
-
of
-
count
public final long count()Required - API name:count
-
value
Required - API name:value
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTopHitDeserializer
-