Class RankFeatureFunctionLinear
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.RankFeatureFunction
org.opensearch.client.opensearch._types.query_dsl.RankFeatureFunctionLinear
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RankFeatureFunctionLinear.Builder,RankFeatureFunctionLinear>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RankFeatureFunctionLinear
extends RankFeatureFunction
implements PlainJsonSerializable, ToCopyableBuilder<RankFeatureFunctionLinear.Builder,RankFeatureFunctionLinear>
-
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<RankFeatureFunctionLinear> static final RankFeatureFunctionLinearSingleton instance forRankFeatureFunctionLinear. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()static RankFeatureFunctionLinearvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.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
-
_INSTANCE
Singleton instance forRankFeatureFunctionLinear. -
_DESERIALIZER
-
-
Method Details
-
of
public static RankFeatureFunctionLinear of(Function<RankFeatureFunctionLinear.Builder, ObjectBuilder<RankFeatureFunctionLinear>> fn) -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RankFeatureFunctionLinear.Builder,RankFeatureFunctionLinear> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode()- Overrides:
hashCodein classRankFeatureFunction
-
equals
- Overrides:
equalsin classRankFeatureFunction
-