Class SearchProfile
java.lang.Object
org.opensearch.client.opensearch.core.search.SearchProfile
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SearchProfile.Builder,SearchProfile>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SearchProfile
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SearchProfile.Builder,SearchProfile>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SearchProfile> Json deserializer forSearchProfile -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchProfile.Builderbuilder()Required - API name:collectorbooleaninthashCode()static SearchProfilefinal List<QueryProfile> query()Required - API name:queryfinal longRequired - API name:rewrite_timevoidserialize(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 forSearchProfile
-
-
Method Details
-
of
-
collector
Required - API name:collector -
query
Required - API name:query -
rewriteTime
public final long rewriteTime()Required - API name:rewrite_time -
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<SearchProfile.Builder,SearchProfile> - Returns:
- a new builder instance.
-
builder
-
setupSearchProfileDeserializer
-
hashCode
public int hashCode() -
equals
-