Class DecayFunctionBase<TOrigin,TScale>
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.DecayFunctionBase<TOrigin,TScale>
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
DateDecayFunction,GeoDecayFunction,NumericDecayFunction,UntypedDecayFunction
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDecayFunctionBase.AbstractBuilder<TOrigin,TScale, BuilderT extends DecayFunctionBase.AbstractBuilder<TOrigin, TScale, BuilderT>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringfield()Required -final MultiValueModeDetermines how the distance is calculated when a field used for computing the decay contains multiple values.final DecayPlacement<TOrigin,TScale> Required -voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <TOrigin,TScale, BuilderT extends DecayFunctionBase.AbstractBuilder<TOrigin, TScale, BuilderT>>
voidsetupDecayFunctionBaseDeserializer(ObjectDeserializer<BuilderT> op, JsonpDeserializer<TOrigin> tOriginDeserializer, JsonpDeserializer<TScale> tScaleDeserializer) toString()
-
Constructor Details
-
DecayFunctionBase
-
-
Method Details
-
field
Required - -
placement
Required - -
multiValueMode
Determines how the distance is calculated when a field used for computing the decay contains multiple values.API name:
multi_value_mode -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDecayFunctionBaseDeserializer
protected static <TOrigin,TScale, void setupDecayFunctionBaseDeserializerBuilderT extends DecayFunctionBase.AbstractBuilder<TOrigin, TScale, BuilderT>> (ObjectDeserializer<BuilderT> op, JsonpDeserializer<TOrigin> tOriginDeserializer, JsonpDeserializer<TScale> tScaleDeserializer)
-