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