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

    Constructors
    Constructor
    Description
     
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    com.yahoo.search.query.profile.config.QueryProfilesConfig
    Returns the config produced by this
    void
    getConfig(com.yahoo.search.query.profile.config.QueryProfilesConfig.Builder builder)
     
    com.yahoo.search.query.profile.QueryProfileRegistry
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface com.yahoo.search.query.profile.config.QueryProfilesConfig.Producer
    • getConfig

      public com.yahoo.search.query.profile.config.QueryProfilesConfig getConfig()
      Returns the config produced by this