Class RankFeatureFunctionSigmoid
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.RankFeatureFunction
org.opensearch.client.opensearch._types.query_dsl.RankFeatureFunctionSigmoid
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RankFeatureFunctionSigmoid.Builder,RankFeatureFunctionSigmoid>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RankFeatureFunctionSigmoid
extends RankFeatureFunction
implements PlainJsonSerializable, ToCopyableBuilder<RankFeatureFunctionSigmoid.Builder,RankFeatureFunctionSigmoid>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.query_dsl.RankFeatureFunction
RankFeatureFunction.AbstractBuilder<BuilderT extends RankFeatureFunction.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RankFeatureFunctionSigmoid> Json deserializer forRankFeatureFunctionSigmoid -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanfinal floatexponent()Required - Configurable Exponent.inthashCode()static RankFeatureFunctionSigmoidfinal floatpivot()Required - Configurable pivot value so that the result will be less than 0.5.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupRankFeatureFunctionSigmoidDeserializer(ObjectDeserializer<RankFeatureFunctionSigmoid.Builder> op) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forRankFeatureFunctionSigmoid
-
-
Method Details
-
of
public static RankFeatureFunctionSigmoid of(Function<RankFeatureFunctionSigmoid.Builder, ObjectBuilder<RankFeatureFunctionSigmoid>> fn) -
exponent
public final float exponent()Required - Configurable Exponent.API name:
exponent -
pivot
public final float pivot()Required - Configurable pivot value so that the result will be less than 0.5.API name:
pivot -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RankFeatureFunctionSigmoid.Builder,RankFeatureFunctionSigmoid> - Returns:
- a new builder instance.
-
builder
-
setupRankFeatureFunctionSigmoidDeserializer
protected static void setupRankFeatureFunctionSigmoidDeserializer(ObjectDeserializer<RankFeatureFunctionSigmoid.Builder> op) -
hashCode
public int hashCode()- Overrides:
hashCodein classRankFeatureFunction
-
equals
- Overrides:
equalsin classRankFeatureFunction
-