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 longcanMatch()Required - The time taken for thecan_matchphase.final longRequired - The time taken for the distributed frequency searchpre-queryphase.final longdfsQuery()Required - The time taken for the distributed frequency search query phase.booleanfinal longexpand()Required - The time taken for theexpandphase.final longfetch()Required - The time taken for thefetchphase.inthashCode()static PhaseTookfinal longquery()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 long canMatch()Required - The time taken for thecan_matchphase.API name:
can_match -
dfsPreQuery
public final long dfsPreQuery()Required - The time taken for the distributed frequency searchpre-queryphase.API name:
dfs_pre_query -
dfsQuery
public final long dfsQuery()Required - The time taken for the distributed frequency search query phase.API name:
dfs_query -
expand
public final long expand()Required - The time taken for theexpandphase.API name:
expand -
fetch
public final long fetch()Required - The time taken for thefetchphase.API name:
fetch -
query
public final long 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
-