Class QueryProfilesConfig.Builder
- java.lang.Object
-
- com.yahoo.search.query.profile.config.QueryProfilesConfig.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- QueryProfilesConfig
public static class QueryProfilesConfig.Builder extends java.lang.Object implements com.yahoo.config.ConfigInstance.Builder
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<QueryProfilesConfig.Queryprofile.Builder>
queryprofile
java.util.List<QueryProfilesConfig.Queryprofiletype.Builder>
queryprofiletype
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(QueryProfilesConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryProfilesConfig
build()
boolean
dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
QueryProfilesConfig.Builder
enableGroupingSessionCache(boolean __value)
boolean
getApplyOnRestart()
java.lang.String
getDefMd5()
java.lang.String
getDefName()
java.lang.String
getDefNamespace()
QueryProfilesConfig.Builder
queryprofile(QueryProfilesConfig.Queryprofile.Builder __builder)
Add the given builder to this builder's list of Queryprofile buildersQueryProfilesConfig.Builder
queryprofile(java.util.List<QueryProfilesConfig.Queryprofile.Builder> __builders)
Set the given list as this builder's list of Queryprofile buildersQueryProfilesConfig.Builder
queryprofiletype(QueryProfilesConfig.Queryprofiletype.Builder __builder)
Add the given builder to this builder's list of Queryprofiletype buildersQueryProfilesConfig.Builder
queryprofiletype(java.util.List<QueryProfilesConfig.Queryprofiletype.Builder> __builders)
Set the given list as this builder's list of Queryprofiletype buildersvoid
setApplyOnRestart(boolean applyOnRestart)
-
-
-
Field Detail
-
queryprofile
public java.util.List<QueryProfilesConfig.Queryprofile.Builder> queryprofile
-
queryprofiletype
public java.util.List<QueryProfilesConfig.Queryprofiletype.Builder> queryprofiletype
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(QueryProfilesConfig config)
-
-
Method Detail
-
queryprofile
public QueryProfilesConfig.Builder queryprofile(QueryProfilesConfig.Queryprofile.Builder __builder)
Add the given builder to this builder's list of Queryprofile builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
queryprofile
public QueryProfilesConfig.Builder queryprofile(java.util.List<QueryProfilesConfig.Queryprofile.Builder> __builders)
Set the given list as this builder's list of Queryprofile builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
queryprofiletype
public QueryProfilesConfig.Builder queryprofiletype(QueryProfilesConfig.Queryprofiletype.Builder __builder)
Add the given builder to this builder's list of Queryprofiletype builders- Parameters:
__builder
- a builder- Returns:
- this builder
-
queryprofiletype
public QueryProfilesConfig.Builder queryprofiletype(java.util.List<QueryProfilesConfig.Queryprofiletype.Builder> __builders)
Set the given list as this builder's list of Queryprofiletype builders- Parameters:
__builders
- a list of builders- Returns:
- this builder
-
enableGroupingSessionCache
public QueryProfilesConfig.Builder enableGroupingSessionCache(boolean __value)
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
- Specified by:
dispatchGetConfig
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
public final java.lang.String getDefMd5()
- Specified by:
getDefMd5
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
public final java.lang.String getDefName()
- Specified by:
getDefName
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
public final java.lang.String getDefNamespace()
- Specified by:
getDefNamespace
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()
- Specified by:
getApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart)
- Specified by:
setApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
build
public QueryProfilesConfig build()
-
-