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