Class Collector
java.lang.Object
org.opensearch.client.opensearch.core.search.Collector
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Collector.Builder,Collector>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Collector
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Collector.Builder,Collector>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Collector> Json deserializer forCollector -
Method Summary
Modifier and TypeMethodDescriptionstatic Collector.Builderbuilder()children()API name:childrenbooleaninthashCode()final Stringname()Required - API name:namestatic Collectorfinal Stringreason()Required - API name:reasonvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longRequired - API name:time_in_nanosCreate 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 forCollector
-
-
Method Details
-
of
-
children
API name:children -
name
Required - API name:name -
reason
Required - API name:reason -
timeInNanos
public final long timeInNanos()Required - API name:time_in_nanos -
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<Collector.Builder,Collector> - Returns:
- a new builder instance.
-
builder
-
setupCollectorDeserializer
-
hashCode
public int hashCode() -
equals
-