Uses of Class
com.yahoo.search.query.profile.QueryProfileRegistry
Packages that use QueryProfileRegistry
Package
Description
Query Profiles provide nested sets of named (and optionally typed) key-values which can be referenced in a Query
to proviode initial values of Query properties.
Query profile types defines the set of fields a query profile may, can or must have.
-
Uses of QueryProfileRegistry in com.yahoo.search.query.profile
Fields in com.yahoo.search.query.profile declared as QueryProfileRegistryModifier and TypeFieldDescriptionfinal QueryProfileRegistryQueryProfile.ownerThe query profile registry owning this, or null if none (which will only happen in tests)Methods in com.yahoo.search.query.profile that return QueryProfileRegistryMethods in com.yahoo.search.query.profile with parameters of type QueryProfileRegistryModifier and TypeMethodDescriptionprotected ObjectOverridableQueryProfile.checkAndConvertAssignment(String localName, Object inputValue, QueryProfileRegistry registry) protected ObjectQueryProfile.checkAndConvertAssignment(String localName, Object value, QueryProfileRegistry registry) Converts to the type of the receiving field, if possible and necessary.static CompiledQueryProfileRegistryQueryProfileCompiler.compile(QueryProfileRegistry input) protected voidQueryProfile.set(com.yahoo.processing.request.CompoundName name, Object value, DimensionBinding binding, QueryProfileRegistry registry) Override this to intercept all writes to this profile (or any nested profiles)final voidQueryProfile.set(com.yahoo.processing.request.CompoundName name, Object value, Map<String, String> context, QueryProfileRegistry registry) Sets a value in this or any nested profile.final voidQueryProfile.set(String name, Object value, DimensionValues dimensionValues, QueryProfileRegistry registry) Sets a value in this or any nested profile.final voidQueryProfile.set(String name, Object value, QueryProfileRegistry registry) Sets a value in this or any nested profile using null as contextfinal voidQueryProfile.set(String name, Object value, String[] dimensionValues, QueryProfileRegistry registry) final voidQueryProfile.set(String name, Object value, Map<String, String> context, QueryProfileRegistry registry) protected QueryProfileQueryProfile.setLocalNode(String localName, Object value, QueryProfileType parentType, DimensionBinding dimensionBinding, QueryProfileRegistry registry) Sets the value of a node in this profile - the local name given must not be nested (contain dots)Constructors in com.yahoo.search.query.profile with parameters of type QueryProfileRegistryModifierConstructorDescriptionprotectedCreates an unbacked overridable query profileprotectedOverridableQueryProfile(String sourceName, QueryProfileRegistry owner) QueryProfile(com.yahoo.component.ComponentId id, String sourceName, QueryProfileRegistry owner) -
Uses of QueryProfileRegistry in com.yahoo.search.query.profile.config
Methods in com.yahoo.search.query.profile.config that return QueryProfileRegistryModifier and TypeMethodDescriptionstatic QueryProfileRegistryQueryProfileConfigurer.createFromConfig(QueryProfilesConfig config) static QueryProfileRegistryQueryProfileConfigurer.createFromConfigId(String configId) Reads all query profile xml files in a given directory, and all type xml files from the immediate subdirectory "types/" (if any)QueryProfileXMLReader.read(List<com.yahoo.io.reader.NamedReader> queryProfileTypeReaders, List<com.yahoo.io.reader.NamedReader> queryProfileReaders) Read the XML file readers into a registry.Methods in com.yahoo.search.query.profile.config with parameters of type QueryProfileRegistryModifier and TypeMethodDescriptionQueryProfileXMLReader.createQueryProfiles(List<com.yahoo.io.reader.NamedReader> queryProfileReaders, QueryProfileRegistry registry) voidQueryProfileXMLReader.fillQueryProfiles(List<Element> queryProfileElements, QueryProfileRegistry registry) -
Uses of QueryProfileRegistry in com.yahoo.search.query.profile.types
Methods in com.yahoo.search.query.profile.types with parameters of type QueryProfileRegistryModifier and TypeMethodDescriptionabstract ObjectFieldType.convertFrom(Object o, QueryProfileRegistry registry) Converts the given type to an instance of this type, if possible.PrimitiveFieldType.convertFrom(Object object, QueryProfileRegistry registry) QueryFieldType.convertFrom(Object o, QueryProfileRegistry registry) QueryProfileFieldType.convertFrom(Object object, QueryProfileRegistry registry) TensorFieldType.convertFrom(Object o, QueryProfileRegistry registry)