Class RankFeatureFunctionLogarithm
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.RankFeatureFunction
co.elastic.clients.elasticsearch._types.query_dsl.RankFeatureFunctionLogarithm
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class RankFeatureFunctionLogarithm extends RankFeatureFunction implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRankFeatureFunctionLogarithm.BuilderBuilder forRankFeatureFunctionLogarithm.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.query_dsl.RankFeatureFunction
RankFeatureFunction.AbstractBuilder<BuilderT extends RankFeatureFunction.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RankFeatureFunctionLogarithm>_DESERIALIZERJson deserializer forRankFeatureFunctionLogarithm -
Constructor Summary
Constructors Constructor Description RankFeatureFunctionLogarithm(RankFeatureFunctionLogarithm.Builder builder)RankFeatureFunctionLogarithm(java.util.function.Function<RankFeatureFunctionLogarithm.Builder,RankFeatureFunctionLogarithm.Builder> fn) -
Method Summary
Modifier and Type Method Description floatscalingFactor()Required - API name:scaling_factorvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupRankFeatureFunctionLogarithmDeserializer(DelegatingDeserializer<RankFeatureFunctionLogarithm.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 forRankFeatureFunctionLogarithm
-
-
Constructor Details
-
RankFeatureFunctionLogarithm
-
RankFeatureFunctionLogarithm
public RankFeatureFunctionLogarithm(java.util.function.Function<RankFeatureFunctionLogarithm.Builder,RankFeatureFunctionLogarithm.Builder> fn)
-
-
Method Details
-
scalingFactor
public float scalingFactor()Required - API name:scaling_factor -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupRankFeatureFunctionLogarithmDeserializer
protected static void setupRankFeatureFunctionLogarithmDeserializer(DelegatingDeserializer<RankFeatureFunctionLogarithm.Builder> op)
-