Class FieldCollapse
java.lang.Object
org.opensearch.client.opensearch.core.search.FieldCollapse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<FieldCollapse.Builder,FieldCollapse>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class FieldCollapse
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<FieldCollapse.Builder,FieldCollapse>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FieldCollapse> Json deserializer forFieldCollapse -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldCollapse.Builderbuilder()booleanfinal Stringfield()Required - API name:fieldinthashCode()The number of inner hits and their sort order.final IntegerThe number of concurrent requests that are allowed to be retrieved by theinner_hitsparameter per group.static FieldCollapsevoidserialize(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 forFieldCollapse
-
-
Method Details
-
of
-
field
Required - API name:field -
innerHits
The number of inner hits and their sort order.API name:
inner_hits -
maxConcurrentGroupSearches
The number of concurrent requests that are allowed to be retrieved by theinner_hitsparameter per group.API name:
max_concurrent_group_searches -
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<FieldCollapse.Builder,FieldCollapse> - Returns:
- a new builder instance.
-
builder
-
setupFieldCollapseDeserializer
-
hashCode
public int hashCode() -
equals
-