Class TermsPartition
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.TermsPartition
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TermsPartition>Json deserializer forTermsPartition -
Method Summary
Modifier and TypeMethodDescriptionfinal longRequired - The number of partitions.static TermsPartitionfinal longRequired - The partition number for this request.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forTermsPartition
-
-
Method Details
-
of
-
numPartitions
public final long numPartitions()Required - The number of partitions.API name:
num_partitions -
partition
public final long partition()Required - The partition number for this request.API name:
partition -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTermsPartitionDeserializer
protected static void setupTermsPartitionDeserializer(ObjectDeserializer<TermsPartition.Builder> op)
-