Class TotalHits
java.lang.Object
co.elastic.clients.elasticsearch.core.search.TotalHits
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<TotalHits>
Json deserializer forTotalHits
-
Method Summary
Modifier and TypeMethodDescriptionstatic TotalHits
final TotalHitsRelation
relation()
Required - API name:relation
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) toString()
final long
value()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-