Class QueryProfilesConfig
- java.lang.Object
-
- com.yahoo.config.Node
-
- com.yahoo.config.InnerNode
-
- com.yahoo.config.ConfigInstance
-
- com.yahoo.search.query.profile.config.QueryProfilesConfig
-
public final class QueryProfilesConfig extends com.yahoo.config.ConfigInstance
This class represents the root node of query-profiles Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. Query profiles and their types - a query profile is a nested composite of query parameters with an id A set of query parameters can be fetched from a query profile rather than being submitted explicitly.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryProfilesConfig.Builder
static interface
QueryProfilesConfig.Producer
static class
QueryProfilesConfig.Queryprofile
This class represents query-profiles.queryprofile[]static class
QueryProfilesConfig.Queryprofiletype
This class represents query-profiles.queryprofiletype[]
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_DEF_MD5
static String
CONFIG_DEF_NAME
static String
CONFIG_DEF_NAMESPACE
static String[]
CONFIG_DEF_SCHEMA
static String
CONFIG_DEF_VERSION
-
Constructor Summary
Constructors Constructor Description QueryProfilesConfig(QueryProfilesConfig.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
enableGroupingSessionCache()
static String
getDefMd5()
static String
getDefName()
static String
getDefNamespace()
static String
getDefVersion()
List<QueryProfilesConfig.Queryprofile>
queryprofile()
QueryProfilesConfig.Queryprofile
queryprofile(int i)
List<QueryProfilesConfig.Queryprofiletype>
queryprofiletype()
QueryProfilesConfig.Queryprofiletype
queryprofiletype(int i)
-
Methods inherited from class com.yahoo.config.ConfigInstance
getConfigMd5, getDefName, getDefNamespace, serialize, serialize, setConfigMd5
-
-
-
-
Field Detail
-
CONFIG_DEF_MD5
public static final String CONFIG_DEF_MD5
- See Also:
- Constant Field Values
-
CONFIG_DEF_NAME
public static final String CONFIG_DEF_NAME
- See Also:
- Constant Field Values
-
CONFIG_DEF_NAMESPACE
public static final String CONFIG_DEF_NAMESPACE
- See Also:
- Constant Field Values
-
CONFIG_DEF_VERSION
public static final String CONFIG_DEF_VERSION
- See Also:
- Constant Field Values
-
CONFIG_DEF_SCHEMA
public static final String[] CONFIG_DEF_SCHEMA
-
-
Constructor Detail
-
QueryProfilesConfig
public QueryProfilesConfig(QueryProfilesConfig.Builder builder)
-
-
Method Detail
-
getDefMd5
public static String getDefMd5()
-
getDefName
public static String getDefName()
-
getDefNamespace
public static String getDefNamespace()
-
getDefVersion
public static String getDefVersion()
-
queryprofile
public List<QueryProfilesConfig.Queryprofile> queryprofile()
- Returns:
- query-profiles.queryprofile[]
-
queryprofile
public QueryProfilesConfig.Queryprofile queryprofile(int i)
- Parameters:
i
- the index of the value to return- Returns:
- query-profiles.queryprofile[]
-
queryprofiletype
public List<QueryProfilesConfig.Queryprofiletype> queryprofiletype()
- Returns:
- query-profiles.queryprofiletype[]
-
queryprofiletype
public QueryProfilesConfig.Queryprofiletype queryprofiletype(int i)
- Parameters:
i
- the index of the value to return- Returns:
- query-profiles.queryprofiletype[]
-
enableGroupingSessionCache
public boolean enableGroupingSessionCache()
- Returns:
- query-profiles.enableGroupingSessionCache
-
-