Class PhaseResultsProcessor
java.lang.Object
org.opensearch.client.opensearch.search_pipeline.PhaseResultsProcessor
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,TaggedUnion<PhaseResultsProcessor.Kind,PhaseResultsProcessorVariant>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class PhaseResultsProcessor
extends Object
implements TaggedUnion<PhaseResultsProcessor.Kind,PhaseResultsProcessorVariant>, PlainJsonSerializable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_get()_kind()Get the of the kind of variant held by this object.builder()booleaninthashCode()booleanIs this variant instance of kindnormalization-processor?Get thenormalization-processorvariant value.static PhaseResultsProcessorvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Field Details
-
_DESERIALIZER
-
-
Constructor Details
-
PhaseResultsProcessor
-
-
Method Details
-
_kind
Description copied from interface:TaggedUnionGet the of the kind of variant held by this object.- Specified by:
_kindin interfaceTaggedUnion<PhaseResultsProcessor.Kind,PhaseResultsProcessorVariant> - Returns:
- the variant kind
-
_get
- Specified by:
_getin interfaceTaggedUnion<PhaseResultsProcessor.Kind,PhaseResultsProcessorVariant>
-
of
public static PhaseResultsProcessor of(Function<PhaseResultsProcessor.Builder, ObjectBuilder<PhaseResultsProcessor>> fn) -
isNormalizationProcessor
public boolean isNormalizationProcessor()Is this variant instance of kindnormalization-processor? -
normalizationProcessor
Get thenormalization-processorvariant value.- Throws:
IllegalStateException- if the current variant is not thenormalization-processorkind.
-
serialize
- Specified by:
serializein interfaceJsonpSerializable
-
toBuilder
-
builder
-
setupPhaseResultsProcessorDeserializer
protected static void setupPhaseResultsProcessorDeserializer(ObjectDeserializer<PhaseResultsProcessor.Builder> op) -
hashCode
public int hashCode() -
equals
-