Class QueryProfiles
java.lang.Object
com.yahoo.vespa.model.container.search.QueryProfiles
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.search.query.profile.config.QueryProfilesConfig.Producer
,Serializable
public class QueryProfiles
extends Object
implements Serializable, com.yahoo.search.query.profile.config.QueryProfilesConfig.Producer
Owns the query profiles and query profile types to be handed to the qrs nodes.
Owned by a container cluster
- Author:
- bratseth
- See Also:
-
Constructor Summary
ConstructorDescriptionQueryProfiles
(com.yahoo.search.query.profile.QueryProfileRegistry registry, com.yahoo.config.application.api.DeployLogger logger) Creates a new set of query profiles for which the config can be returned at request -
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.search.query.profile.config.QueryProfilesConfig
Returns the config produced by thisvoid
getConfig
(com.yahoo.search.query.profile.config.QueryProfilesConfig.Builder builder) com.yahoo.search.query.profile.QueryProfileRegistry
-
Constructor Details
-
QueryProfiles
public QueryProfiles(com.yahoo.search.query.profile.QueryProfileRegistry registry, com.yahoo.config.application.api.DeployLogger logger) Creates a new set of query profiles for which the config can be returned at request- Parameters:
registry
- the registry containing the query profiles and types of this. The given registry cannot be frozen on calling this.
-
QueryProfiles
public QueryProfiles()
-
-
Method Details
-
getRegistry
public com.yahoo.search.query.profile.QueryProfileRegistry getRegistry() -
getConfig
public void getConfig(com.yahoo.search.query.profile.config.QueryProfilesConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.search.query.profile.config.QueryProfilesConfig.Producer
-
getConfig
public com.yahoo.search.query.profile.config.QueryProfilesConfig getConfig()Returns the config produced by this
-