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 class
RankFeatureFunctionLogarithm.Builder
Builder 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>
_DESERIALIZER
Json 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 float
scalingFactor()
Required - API name:scaling_factor
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
setupRankFeatureFunctionLogarithmDeserializer(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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupRankFeatureFunctionLogarithmDeserializer
protected static void setupRankFeatureFunctionLogarithmDeserializer(DelegatingDeserializer<RankFeatureFunctionLogarithm.Builder> op)
-