Class ScoreRankerPhaseResultsProcessor
- java.lang.Object
-
- org.opensearch.client.opensearch.search_pipeline.ScoreRankerPhaseResultsProcessor
-
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,PhaseResultsProcessorVariant,ToCopyableBuilder<ScoreRankerPhaseResultsProcessor.Builder,ScoreRankerPhaseResultsProcessor>
@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class ScoreRankerPhaseResultsProcessor extends java.lang.Object implements PhaseResultsProcessorVariant, PlainJsonSerializable, ToCopyableBuilder<ScoreRankerPhaseResultsProcessor.Builder,ScoreRankerPhaseResultsProcessor>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScoreRankerPhaseResultsProcessor.BuilderBuilder forScoreRankerPhaseResultsProcessor.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ScoreRankerPhaseResultsProcessor>_DESERIALIZERJson deserializer forScoreRankerPhaseResultsProcessor
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.opensearch.search_pipeline.PhaseResultsProcessorVariant
_toPhaseResultsProcessor
-
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<ScoreRankerPhaseResultsProcessor> _DESERIALIZER
Json deserializer forScoreRankerPhaseResultsProcessor
-
-
Method Detail
-
of
public static ScoreRankerPhaseResultsProcessor of(java.util.function.Function<ScoreRankerPhaseResultsProcessor.Builder,ObjectBuilder<ScoreRankerPhaseResultsProcessor>> fn)
-
_phaseResultsProcessorKind
public PhaseResultsProcessor.Kind _phaseResultsProcessorKind()
PhaseResultsProcessorvariant kind.- Specified by:
_phaseResultsProcessorKindin interfacePhaseResultsProcessorVariant
-
combination
@Nonnull public final ScoreRankerCombination combination()
Required - API name:combination
-
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 ScoreRankerPhaseResultsProcessor.Builder toBuilder()
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ScoreRankerPhaseResultsProcessor.Builder,ScoreRankerPhaseResultsProcessor>- Returns:
- a new builder instance.
-
builder
@Nonnull public static ScoreRankerPhaseResultsProcessor.Builder builder()
-
setupScoreRankerPhaseResultsProcessorDeserializer
protected static void setupScoreRankerPhaseResultsProcessorDeserializer(ObjectDeserializer<ScoreRankerPhaseResultsProcessor.Builder> op)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-