Class TermsPartition
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.TermsPartition
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TermsPartition extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TermsPartition.Builder
Builder forTermsPartition
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TermsPartition>
_DESERIALIZER
Json deserializer forTermsPartition
-
Method Summary
Modifier and Type Method Description long
numPartitions()
Required - API name:num_partitions
static TermsPartition
of(java.util.function.Function<TermsPartition.Builder,ObjectBuilder<TermsPartition>> fn)
long
partition()
Required - API name:partition
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
setupTermsPartitionDeserializer(ObjectDeserializer<TermsPartition.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTermsPartition
-
-
Method Details
-
of
public static TermsPartition of(java.util.function.Function<TermsPartition.Builder,ObjectBuilder<TermsPartition>> fn) -
numPartitions
public final long numPartitions()Required - API name:num_partitions
-
partition
public final long partition()Required - API name:partition
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTermsPartitionDeserializer
protected static void setupTermsPartitionDeserializer(ObjectDeserializer<TermsPartition.Builder> op)
-