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 class RankFeatureFunctionLogarithm extends RankFeatureFunction implements JsonpSerializable
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description static RankFeatureFunctionLogarithm
of(java.util.function.Function<RankFeatureFunctionLogarithm.Builder,ObjectBuilder<RankFeatureFunctionLogarithm>> fn)
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(ObjectDeserializer<RankFeatureFunctionLogarithm.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRankFeatureFunctionLogarithm
-
-
Method Details
-
of
public static RankFeatureFunctionLogarithm of(java.util.function.Function<RankFeatureFunctionLogarithm.Builder,ObjectBuilder<RankFeatureFunctionLogarithm>> fn) -
scalingFactor
public final float scalingFactor()Required - API name:scaling_factor
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupRankFeatureFunctionLogarithmDeserializer
protected static void setupRankFeatureFunctionLogarithmDeserializer(ObjectDeserializer<RankFeatureFunctionLogarithm.Builder> op)
-