Package com.yahoo.search.config
Class SchemaInfoConfig.Schema.Builder
java.lang.Object
com.yahoo.search.config.SchemaInfoConfig.Schema.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
- Enclosing class:
- SchemaInfoConfig.Schema
public static class SchemaInfoConfig.Schema.Builder
extends Object
implements com.yahoo.config.ConfigBuilder
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Add the given builder to this builder's list of Rankprofile buildersMake a new builder and run the supplied function on it before adding it to the listrankprofile
(List<SchemaInfoConfig.Schema.Rankprofile.Builder> __builders) Set the given list as this builder's list of Rankprofile buildersAdd the given builder to this builder's list of Summaryclass buildersMake a new builder and run the supplied function on it before adding it to the listsummaryclass
(List<SchemaInfoConfig.Schema.Summaryclass.Builder> __builders) Set the given list as this builder's list of Summaryclass builders
-
Field Details
-
summaryclass
-
rankprofile
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
name
-
summaryclass
public SchemaInfoConfig.Schema.Builder summaryclass(SchemaInfoConfig.Schema.Summaryclass.Builder __builder) Add the given builder to this builder's list of Summaryclass builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
summaryclass
public SchemaInfoConfig.Schema.Builder summaryclass(Consumer<SchemaInfoConfig.Schema.Summaryclass.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
-
summaryclass
public SchemaInfoConfig.Schema.Builder summaryclass(List<SchemaInfoConfig.Schema.Summaryclass.Builder> __builders) Set the given list as this builder's list of Summaryclass builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
rankprofile
public SchemaInfoConfig.Schema.Builder rankprofile(SchemaInfoConfig.Schema.Rankprofile.Builder __builder) Add the given builder to this builder's list of Rankprofile builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
rankprofile
public SchemaInfoConfig.Schema.Builder rankprofile(Consumer<SchemaInfoConfig.Schema.Rankprofile.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
-
rankprofile
public SchemaInfoConfig.Schema.Builder rankprofile(List<SchemaInfoConfig.Schema.Rankprofile.Builder> __builders) Set the given list as this builder's list of Rankprofile builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
build
-