Class ScoreRankerCombination
- java.lang.Object
-
- org.opensearch.client.opensearch.search_pipeline.ScoreRankerCombination
-
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ScoreRankerCombination.Builder,ScoreRankerCombination>
@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class ScoreRankerCombination extends java.lang.Object implements PlainJsonSerializable, ToCopyableBuilder<ScoreRankerCombination.Builder,ScoreRankerCombination>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScoreRankerCombination.BuilderBuilder forScoreRankerCombination.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ScoreRankerCombination>_DESERIALIZERJson deserializer forScoreRankerCombination
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScoreRankerCombination.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()static ScoreRankerCombinationof(java.util.function.Function<ScoreRankerCombination.Builder,ObjectBuilder<ScoreRankerCombination>> fn)java.lang.IntegerrankConstant()API name:rank_constantvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupScoreRankerCombinationDeserializer(ObjectDeserializer<ScoreRankerCombination.Builder> op)ScoreRankerCombinationTechniquetechnique()Required - API name:techniqueScoreRankerCombination.BuildertoBuilder()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, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Methods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ScoreRankerCombination> _DESERIALIZER
Json deserializer forScoreRankerCombination
-
-
Method Detail
-
of
public static ScoreRankerCombination of(java.util.function.Function<ScoreRankerCombination.Builder,ObjectBuilder<ScoreRankerCombination>> fn)
-
rankConstant
@Nullable public final java.lang.Integer rankConstant()
API name:rank_constant
-
technique
@Nonnull public final ScoreRankerCombinationTechnique technique()
Required - API name:technique
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
toBuilder
@Nonnull public ScoreRankerCombination.Builder toBuilder()
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ScoreRankerCombination.Builder,ScoreRankerCombination>- Returns:
- a new builder instance.
-
builder
@Nonnull public static ScoreRankerCombination.Builder builder()
-
setupScoreRankerCombinationDeserializer
protected static void setupScoreRankerCombinationDeserializer(ObjectDeserializer<ScoreRankerCombination.Builder> op)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-