Class TotalHits
java.lang.Object
co.elastic.clients.elasticsearch.core.search.TotalHits
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TotalHits>Json deserializer forTotalHits -
Method Summary
Modifier and TypeMethodDescriptionstatic TotalHitsfinal TotalHitsRelationrelation()Required - API name:relationvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) toString()final longvalue()Required - API name:value
-
Field Details
-
_DESERIALIZER
Json deserializer forTotalHits
-
-
Method Details
-
of
-
relation
Required - API name:relation -
value
public final long value()Required - API name:value -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-