Class SortResponseProcessor
java.lang.Object
org.opensearch.client.opensearch.search_pipeline.SortResponseProcessor
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ResponseProcessorVariant,ToCopyableBuilder<SortResponseProcessor.Builder,SortResponseProcessor>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SortResponseProcessor
extends Object
implements ResponseProcessorVariant, PlainJsonSerializable, ToCopyableBuilder<SortResponseProcessor.Builder,SortResponseProcessor>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SortResponseProcessor> Json deserializer forSortResponseProcessor -
Method Summary
Modifier and TypeMethodDescriptionResponseProcessorvariant kind.builder()final StringAPI name:descriptionbooleanfinal Stringfield()Required - API name:fieldinthashCode()final BooleanAPI name:ignore_failurestatic SortResponseProcessorfinal Stringorder()API name:ordervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringtag()API name:tagfinal StringAPI name:target_fieldCreate 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.opensearch.search_pipeline.ResponseProcessorVariant
toResponseProcessorMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSortResponseProcessor
-
-
Method Details
-
of
public static SortResponseProcessor of(Function<SortResponseProcessor.Builder, ObjectBuilder<SortResponseProcessor>> fn) -
_responseProcessorKind
ResponseProcessorvariant kind.- Specified by:
_responseProcessorKindin interfaceResponseProcessorVariant
-
description
API name:description -
field
Required - API name:field -
ignoreFailure
API name:ignore_failure -
order
API name:order -
tag
API name:tag -
targetField
API name:target_field -
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<SortResponseProcessor.Builder,SortResponseProcessor> - Returns:
- a new builder instance.
-
builder
-
setupSortResponseProcessorDeserializer
protected static void setupSortResponseProcessorDeserializer(ObjectDeserializer<SortResponseProcessor.Builder> op) -
hashCode
public int hashCode() -
equals
-