Class QueryProfileTypeRegistry
java.lang.Object
com.yahoo.component.provider.ComponentRegistry<QueryProfileType>
com.yahoo.search.query.profile.types.QueryProfileTypeRegistry
public class QueryProfileTypeRegistry
extends com.yahoo.component.provider.ComponentRegistry<QueryProfileType>
A registry of query profile types
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.component.ComponentId
createAnonymousId
(String name) static QueryProfileTypeRegistry
void
freeze()
boolean
Returns true if this has types in addition to the native Vespa typesvoid
register
(QueryProfileType type) Register this type by its idMethods inherited from class com.yahoo.component.provider.ComponentRegistry
allComponents, allComponentsById, findBestMatch, getComponent, getComponent, getComponent, getComponentCount, isFrozen, register, singleton, unregister
-
Constructor Details
-
QueryProfileTypeRegistry
public QueryProfileTypeRegistry()
-
-
Method Details
-
register
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 classcom.yahoo.component.provider.ComponentRegistry<QueryProfileType>
-
emptyFrozen
-
createAnonymousId
-