Package com.yahoo.vespa.config.search
Class IndexschemaConfig.Fieldset.Builder
java.lang.Object
com.yahoo.vespa.config.search.IndexschemaConfig.Fieldset.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- IndexschemaConfig.Fieldset
public static final class IndexschemaConfig.Fieldset.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()field(IndexschemaConfig.Fieldset.Field.Builder __builder) Add the given builder to this builder's list of Field buildersMake a new builder and run the supplied function on it before adding it to the listfield(List<IndexschemaConfig.Fieldset.Field.Builder> __builders) Set the given list as this builder's list of Field builders
-
Field Details
-
field
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
name
-
field
Add the given builder to this builder's list of Field builders- Parameters:
__builder- a builder- Returns:
- this builder
-
field
public IndexschemaConfig.Fieldset.Builder field(Consumer<IndexschemaConfig.Fieldset.Field.Builder> __func) 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
-
field
public IndexschemaConfig.Fieldset.Builder field(List<IndexschemaConfig.Fieldset.Field.Builder> __builders) Set the given list as this builder's list of Field builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
build
-