Class QueryProfilesConfig


  • public final class QueryProfilesConfig
    extends com.yahoo.config.ConfigInstance
    This class represents the root node of query-profiles Copyright 2017 Yahoo Holdings. 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.
    • Field Detail

      • CONFIG_DEF_NAMESPACE

        public static final java.lang.String CONFIG_DEF_NAMESPACE
        See Also:
        Constant Field Values
      • CONFIG_DEF_VERSION

        public static final java.lang.String CONFIG_DEF_VERSION
        See Also:
        Constant Field Values
      • CONFIG_DEF_SCHEMA

        public static final java.lang.String[] CONFIG_DEF_SCHEMA
    • Method Detail

      • getDefMd5

        public static java.lang.String getDefMd5()
      • getDefName

        public static java.lang.String getDefName()
      • getDefNamespace

        public static java.lang.String getDefNamespace()
      • getDefVersion

        public static java.lang.String getDefVersion()
      • queryprofile

        public QueryProfilesConfig.Queryprofile queryprofile​(int i)
        Parameters:
        i - the index of the value to return
        Returns:
        query-profiles.queryprofile[]
      • 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