Class PhaseTook
java.lang.Object
org.opensearch.client.opensearch._types.PhaseTook
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PhaseTook.Builder,PhaseTook>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class PhaseTook
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<PhaseTook.Builder,PhaseTook>
The time taken by different phases of the search.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<PhaseTook> Json deserializer forPhaseTook -
Method Summary
Modifier and TypeMethodDescriptionstatic PhaseTook.Builderbuilder()final intcanMatch()Required - The time taken for thecan_matchphase.final intRequired - The time taken for the distributed frequency searchpre-queryphase.final intdfsQuery()Required - The time taken for the distributed frequency search query phase.booleanfinal intexpand()Required - The time taken for theexpandphase.final intfetch()Required - The time taken for thefetchphase.inthashCode()static PhaseTookfinal intquery()Required - The time taken for thequeryphase.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 forPhaseTook
-
-
Method Details
-
of
-
canMatch
public final int canMatch()Required - The time taken for thecan_matchphase.API name:
can_match -
dfsPreQuery
public final int dfsPreQuery()Required - The time taken for the distributed frequency searchpre-queryphase.API name:
dfs_pre_query -
dfsQuery
public final int dfsQuery()Required - The time taken for the distributed frequency search query phase.API name:
dfs_query -
expand
public final int expand()Required - The time taken for theexpandphase.API name:
expand -
fetch
public final int fetch()Required - The time taken for thefetchphase.API name:
fetch -
query
public final int query()Required - The time taken for thequeryphase.API name:
query -
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<PhaseTook.Builder,PhaseTook> - Returns:
- a new builder instance.
-
builder
-
setupPhaseTookDeserializer
-
hashCode
public int hashCode() -
equals
-