Package com.yahoo.vespa.config.search
Class IndexschemaConfig.Builder
java.lang.Object
com.yahoo.vespa.config.search.IndexschemaConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- IndexschemaConfig
public static final class IndexschemaConfig.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) fieldset(IndexschemaConfig.Fieldset.Builder __builder) Add the given builder to this builder's list of Fieldset buildersMake a new builder and run the supplied function on it before adding it to the listfieldset(List<IndexschemaConfig.Fieldset.Builder> __builders) Set the given list as this builder's list of Fieldset buildersfinal booleanfinal Stringfinal Stringfinal Stringindexfield(IndexschemaConfig.Indexfield.Builder __builder) Add the given builder to this builder's list of Indexfield buildersMake a new builder and run the supplied function on it before adding it to the listindexfield(List<IndexschemaConfig.Indexfield.Builder> __builders) Set the given list as this builder's list of Indexfield buildersfinal voidsetApplyOnRestart(boolean applyOnRestart)
-
Field Details
-
indexfield
-
fieldset
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
indexfield
Add the given builder to this builder's list of Indexfield builders- Parameters:
__builder- a builder- Returns:
- this builder
-
indexfield
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
-
indexfield
Set the given list as this builder's list of Indexfield builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
fieldset
Add the given builder to this builder's list of Fieldset builders- Parameters:
__builder- a builder- Returns:
- this builder
-
fieldset
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
-
fieldset
Set the given list as this builder's list of Fieldset 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
-