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
Constructors Constructor Description QueryProfileTypeRegistry()
-
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 typesvoid
register(QueryProfileType type)
Register this type by its id
-
-
-
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 classcom.yahoo.component.provider.ComponentRegistry<QueryProfileType>
-
emptyFrozen
public static QueryProfileTypeRegistry emptyFrozen()
-
-