Class GoogleNormalizedDistanceHeuristic
java.lang.Object
co.elastic.clients.elasticsearch._types.aggregations.GoogleNormalizedDistanceHeuristic
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class GoogleNormalizedDistanceHeuristic
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<GoogleNormalizedDistanceHeuristic>
Json deserializer forGoogleNormalizedDistanceHeuristic
-
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
Set tofalse
if you defined a custom background filter that represents a different set of documents that you want to compare to.of
(Function<GoogleNormalizedDistanceHeuristic.Builder, ObjectBuilder<GoogleNormalizedDistanceHeuristic>> fn) 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
setupGoogleNormalizedDistanceHeuristicDeserializer
(ObjectDeserializer<GoogleNormalizedDistanceHeuristic.Builder> op) toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forGoogleNormalizedDistanceHeuristic
-
-
Method Details
-
of
-
backgroundIsSuperset
Set tofalse
if you defined a custom background filter that represents a different set of documents that you want to compare to.API name:
background_is_superset
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGoogleNormalizedDistanceHeuristicDeserializer
protected static void setupGoogleNormalizedDistanceHeuristicDeserializer(ObjectDeserializer<GoogleNormalizedDistanceHeuristic.Builder> op)
-