Uses of Class
com.yahoo.search.query.profile.QueryProfileRegistry
-
Packages that use QueryProfileRegistry Package Description com.yahoo.search.query.profile 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.com.yahoo.search.query.profile.config com.yahoo.search.query.profile.types 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
Methods in com.yahoo.search.query.profile with parameters of type QueryProfileRegistry Modifier and Type Method Description protected java.lang.Object
OverridableQueryProfile. checkAndConvertAssignment(java.lang.String localName, java.lang.Object inputValue, QueryProfileRegistry registry)
protected java.lang.Object
QueryProfile. checkAndConvertAssignment(java.lang.String localName, java.lang.Object value, QueryProfileRegistry registry)
Converts to the type of the receiving field, if possible and necessary.static CompiledQueryProfileRegistry
QueryProfileCompiler. compile(QueryProfileRegistry input)
protected void
QueryProfile. set(com.yahoo.processing.request.CompoundName name, java.lang.Object value, DimensionBinding binding, QueryProfileRegistry registry)
Override this to intercept all writes to this profile (or any nested profiles)void
QueryProfile. set(com.yahoo.processing.request.CompoundName name, java.lang.Object value, java.util.Map<java.lang.String,java.lang.String> context, QueryProfileRegistry registry)
Sets a value in this or any nested profile.void
QueryProfile. set(java.lang.String name, java.lang.Object value, DimensionValues dimensionValues, QueryProfileRegistry registry)
Sets a value in this or any nested profile.void
QueryProfile. set(java.lang.String name, java.lang.Object value, QueryProfileRegistry registry)
Sets a value in this or any nested profile using null as contextvoid
QueryProfile. set(java.lang.String name, java.lang.Object value, java.lang.String[] dimensionValues, QueryProfileRegistry registry)
void
QueryProfile. set(java.lang.String name, java.lang.Object value, java.util.Map<java.lang.String,java.lang.String> context, QueryProfileRegistry registry)
protected QueryProfile
QueryProfile. setLocalNode(java.lang.String localName, java.lang.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) -
Uses of QueryProfileRegistry in com.yahoo.search.query.profile.config
Methods in com.yahoo.search.query.profile.config that return QueryProfileRegistry Modifier and Type Method Description static QueryProfileRegistry
QueryProfileConfigurer. createFromConfig(QueryProfilesConfig config)
QueryProfileRegistry
QueryProfileConfigurer. getCurrentRegistry()
Returns the registry created by the last occurring call to configureQueryProfileRegistry
QueryProfileXMLReader. read(java.lang.String directory)
Reads all query profile xml files in a given directory, and all type xml files from the immediate subdirectory "types/" (if any)QueryProfileRegistry
QueryProfileXMLReader. read(java.util.List<com.yahoo.io.reader.NamedReader> queryProfileTypeReaders, java.util.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 QueryProfileRegistry Modifier and Type Method Description java.util.List<org.w3c.dom.Element>
QueryProfileXMLReader. createQueryProfiles(java.util.List<com.yahoo.io.reader.NamedReader> queryProfileReaders, QueryProfileRegistry registry)
void
QueryProfileXMLReader. fillQueryProfiles(java.util.List<org.w3c.dom.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 QueryProfileRegistry Modifier and Type Method Description abstract java.lang.Object
FieldType. convertFrom(java.lang.Object o, QueryProfileRegistry registry)
Converts the given type to an instance of this type, if possible.java.lang.Object
PrimitiveFieldType. convertFrom(java.lang.Object object, QueryProfileRegistry registry)
java.lang.Object
QueryFieldType. convertFrom(java.lang.Object o, QueryProfileRegistry registry)
QueryProfile
QueryProfileFieldType. convertFrom(java.lang.Object object, QueryProfileRegistry registry)
java.lang.Object
TensorFieldType. convertFrom(java.lang.Object o, QueryProfileRegistry registry)
-