Class QueryProfileTypeRegistry


  • public class QueryProfileTypeRegistry
    extends com.yahoo.component.provider.ComponentRegistry<QueryProfileType>
    A registry of query profile types
    Author:
    bratseth
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static QueryProfileTypeRegistry emptyFrozen()  
      void freeze()  
      boolean hasApplicationTypes()
      Returns true if this has types in addition to the native Vespa types
      void register​(QueryProfileType type)
      Register this type by its id
      • Methods inherited from class com.yahoo.component.provider.ComponentRegistry

        allComponents, allComponentsById, findBestMatch, getComponent, getComponent, getComponent, getComponentCount, isFrozen, register, singleton, unregister
      • Methods inherited from class java.lang.Object

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

      • QueryProfileTypeRegistry

        public QueryProfileTypeRegistry()
    • Method Detail

      • register

        public void register​(QueryProfileType type)
        Register this type by its id
      • hasApplicationTypes

        public boolean hasApplicationTypes()
        Returns true if this has types in addition to the native Vespa types
      • freeze

        public void freeze()
        Overrides:
        freeze in class com.yahoo.component.provider.ComponentRegistry<QueryProfileType>