Class PhaseTook.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.PhaseTook.Builder
- All Implemented Interfaces:
CopyableBuilder<PhaseTook.Builder,,PhaseTook> MutableBuilder<PhaseTook.Builder,,PhaseTook> ObjectBuilder<PhaseTook>
- Enclosing class:
PhaseTook
public static class PhaseTook.Builder
extends ObjectBuilderBase
implements CopyableBuilder<PhaseTook.Builder,PhaseTook>
Builder for
PhaseTook.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPhaseTook.final PhaseTook.BuildercanMatch(int value) Required - The time taken for thecan_matchphase.copy()Create a new builderCopyableBuilderthat is a copy of this one.final PhaseTook.BuilderdfsPreQuery(int value) Required - The time taken for the distributed frequency searchpre-queryphase.final PhaseTook.BuilderdfsQuery(int value) Required - The time taken for the distributed frequency search query phase.final PhaseTook.Builderexpand(int value) Required - The time taken for theexpandphase.final PhaseTook.Builderfetch(int value) Required - The time taken for thefetchphase.final PhaseTook.Builderquery(int value) Required - The time taken for thequeryphase.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<PhaseTook.Builder,PhaseTook> - Returns:
- a new builder instance.
-
canMatch
Required - The time taken for thecan_matchphase.API name:
can_match -
dfsPreQuery
Required - The time taken for the distributed frequency searchpre-queryphase.API name:
dfs_pre_query -
dfsQuery
Required - The time taken for the distributed frequency search query phase.API name:
dfs_query -
expand
Required - The time taken for theexpandphase.API name:
expand -
fetch
Required - The time taken for thefetchphase.API name:
fetch -
query
Required - The time taken for thequeryphase.API name:
query -
build
Builds aPhaseTook.- Specified by:
buildin interfaceObjectBuilder<PhaseTook>- Throws:
NullPointerException- if some of the required fields are null.
-