Class ChiSquareHeuristic
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.ChiSquareHeuristic
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ChiSquareHeuristic extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChiSquareHeuristic.Builder
Builder forChiSquareHeuristic
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ChiSquareHeuristic>
_DESERIALIZER
Json deserializer forChiSquareHeuristic
-
Constructor Summary
Constructors Constructor Description ChiSquareHeuristic(ChiSquareHeuristic.Builder builder)
ChiSquareHeuristic(java.util.function.Function<ChiSquareHeuristic.Builder,ChiSquareHeuristic.Builder> fn)
-
Method Summary
Modifier and Type Method Description boolean
backgroundIsSuperset()
Required - API name:background_is_superset
boolean
includeNegatives()
Required - API name:include_negatives
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
setupChiSquareHeuristicDeserializer(DelegatingDeserializer<ChiSquareHeuristic.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 forChiSquareHeuristic
-
-
Constructor Details
-
ChiSquareHeuristic
-
ChiSquareHeuristic
public ChiSquareHeuristic(java.util.function.Function<ChiSquareHeuristic.Builder,ChiSquareHeuristic.Builder> fn)
-
-
Method Details
-
backgroundIsSuperset
public boolean backgroundIsSuperset()Required - API name:background_is_superset
-
includeNegatives
public boolean includeNegatives()Required - API name:include_negatives
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupChiSquareHeuristicDeserializer
protected static void setupChiSquareHeuristicDeserializer(DelegatingDeserializer<ChiSquareHeuristic.Builder> op)
-