Class NestedSortValue
java.lang.Object
org.opensearch.client.opensearch._types.NestedSortValue
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<NestedSortValue.Builder,NestedSortValue>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class NestedSortValue
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<NestedSortValue.Builder,NestedSortValue>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NestedSortValue> Json deserializer forNestedSortValue -
Method Summary
Modifier and TypeMethodDescriptionstatic NestedSortValue.Builderbuilder()booleanfinal Queryfilter()The filter to apply to nested objects.inthashCode()final IntegerThe maximum number of children to consider for sorting.final NestedSortValuenested()How to sort hierarchical nested objects.static NestedSortValuefinal Stringpath()Required - The path to the nested objects.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate 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
-
_DESERIALIZER
Json deserializer forNestedSortValue
-
-
Method Details
-
of
public static NestedSortValue of(Function<NestedSortValue.Builder, ObjectBuilder<NestedSortValue>> fn) -
filter
The filter to apply to nested objects.API name:
filter -
maxChildren
The maximum number of children to consider for sorting.API name:
max_children -
nested
How to sort hierarchical nested objects.API name:
nested -
path
Required - The path to the nested objects.API name:
path -
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<NestedSortValue.Builder,NestedSortValue> - Returns:
- a new builder instance.
-
builder
-
setupNestedSortValueDeserializer
protected static void setupNestedSortValueDeserializer(ObjectDeserializer<NestedSortValue.Builder> op) -
hashCode
public int hashCode() -
equals
-