Class QueryProfiles

  • All Implemented Interfaces:
    com.yahoo.config.ConfigInstance.Producer, com.yahoo.search.query.profile.config.QueryProfilesConfig.Producer, java.io.Serializable

    public class QueryProfiles
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryProfiles()  
      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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.yahoo.search.query.profile.config.QueryProfilesConfig getConfig()
      Returns the config produced by this
      void getConfig​(com.yahoo.search.query.profile.config.QueryProfilesConfig.Builder builder)  
      com.yahoo.search.query.profile.QueryProfileRegistry getRegistry()  
      java.lang.String toSpaceSeparatedString​(java.util.List<java.lang.String> list)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • 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 Detail

      • 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
      • toSpaceSeparatedString

        public java.lang.String toSpaceSeparatedString​(java.util.List<java.lang.String> list)
      • getConfig

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