Class VsmfieldsConfig.Builder
java.lang.Object
com.yahoo.vespa.config.search.vsm.VsmfieldsConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- VsmfieldsConfig
public static final class VsmfieldsConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()final booleandispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) documenttype(VsmfieldsConfig.Documenttype.Builder __builder) Add the given builder to this builder's list of Documenttype buildersMake a new builder and run the supplied function on it before adding it to the listdocumenttype(List<VsmfieldsConfig.Documenttype.Builder> __builders) Set the given list as this builder's list of Documenttype buildersdocumentverificationlevel(int __value) fieldspec(VsmfieldsConfig.Fieldspec.Builder __builder) Add the given builder to this builder's list of Fieldspec buildersMake a new builder and run the supplied function on it before adding it to the listfieldspec(List<VsmfieldsConfig.Fieldspec.Builder> __builders) Set the given list as this builder's list of Fieldspec buildersfinal booleanfinal Stringfinal Stringfinal Stringsearchall(int __value) final voidsetApplyOnRestart(boolean applyOnRestart)
-
Field Details
-
fieldspec
-
documenttype
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
documentverificationlevel
-
searchall
-
fieldspec
Add the given builder to this builder's list of Fieldspec builders- Parameters:
__builder- a builder- Returns:
- this builder
-
fieldspec
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
fieldspec
Set the given list as this builder's list of Fieldspec builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
documenttype
Add the given builder to this builder's list of Documenttype builders- Parameters:
__builder- a builder- Returns:
- this builder
-
documenttype
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
documenttype
Set the given list as this builder's list of Documenttype builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) - Specified by:
dispatchGetConfigin interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
- Specified by:
getDefMd5in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
- Specified by:
getDefNamein interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
- Specified by:
getDefNamespacein interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()- Specified by:
getApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart) - Specified by:
setApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
build
-