Uses of Class
com.yahoo.search.query.profile.DimensionValues
Packages that use DimensionValues
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 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.
-
Uses of DimensionValues in com.yahoo.search.query.profile
Fields in com.yahoo.search.query.profile declared as DimensionValuesMethods in com.yahoo.search.query.profile that return DimensionValuesModifier and TypeMethodDescriptionstatic DimensionValuesDimensionValues.createFrom(String[] values) QueryProfileVariant.getDimensionValues()QueryProfileVariants.FieldValue.getDimensionValues()Returns the dimension values for which this value should be used.DimensionBinding.getValues()Returns the values for the dimensions of this.Methods in com.yahoo.search.query.profile with parameters of type DimensionValuesModifier and TypeMethodDescriptionvoidQueryProfile.addInherited(QueryProfile profile, DimensionValues dimensionValues) Adds a profile to the end of the inherited list of this for the given variant.intDimensionValues.compareTo(DimensionValues other) Implements the sort order of this which is based on specificity where dimensions to the left are more significant: -1 is returned if this is more specific than other, 1 is returned if other is more specific than this, 0 is returned if none is more specific than the other.static DimensionBindingDimensionBinding.createFrom(List<String> dimensions, DimensionValues dimensionValues) Creates a binding from a variant and a context.final ObjectQueryProfile.get(String name, DimensionValues dimensionValues, com.yahoo.processing.request.Properties substitution) Returns a value from this using the given dimensions for resolutionQueryProfileVariants.FieldValues.getExact(DimensionValues dimensionValues) Returns the value having exactly the given dimensions, or null if noneQueryProfileVariants.getVariant(DimensionValues dimensionValues, boolean create) Returns the query profile variant having exactly the given dimensions, and creates it if create is set and it is missingvoidQueryProfileVariants.inherit(QueryProfile profile, DimensionValues dimensionValues) Inherits a particular profile in a variant of thisbooleanDimensionValues.isMoreSpecificThan(DimensionValues other) Helper method which uses compareTo to return whether this is most specificQueryProfileVariants.isOverridable(String fieldName, DimensionValues dimensionValues) booleanDimensionValues.matches(DimensionValues givenValues) Returns true if this is has the same value every place it has a value as the given values.booleanQueryProfileVariant.matches(DimensionValues givenDimensionValues) booleanQueryProfileVariants.FieldValue.matches(DimensionValues givenDimensionValues) voidQueryProfileVariants.FieldValues.put(DimensionValues dimensionValues, Object value) final voidQueryProfile.set(String name, Object value, DimensionValues dimensionValues, QueryProfileRegistry registry) Sets a value in this or any nested profile.voidQueryProfileVariants.set(String fieldName, DimensionValues dimensionValues, Object value) Sets a value to thisfinal voidQueryProfile.setOverridable(String fieldName, boolean overridable, DimensionValues dimensionValues) Sets the overridability of a field in this profile, this overrides the corresponding setting in the type (if any)voidQueryProfileVariants.setOverridable(String fieldName, boolean overridable, DimensionValues dimensionValues) Makes a value unoverridable in a given context.Constructors in com.yahoo.search.query.profile with parameters of type DimensionValuesModifierConstructorDescriptionFieldValue(DimensionValues dimensionValues, Object value) QueryProfileVariant(DimensionValues dimensionValues, QueryProfile owner) -
Uses of DimensionValues in com.yahoo.search.query.profile.compiled
Methods in com.yahoo.search.query.profile.compiled that return types with arguments of type DimensionValuesModifier and TypeMethodDescriptionValueWithSource.variant()Returns the variant having this value, or empty if it's not in a variantMethod parameters in com.yahoo.search.query.profile.compiled with type arguments of type DimensionValuesConstructors in com.yahoo.search.query.profile.compiled with parameters of type DimensionValuesModifierConstructorDescriptionValueWithSource(Object value, String source, boolean isUnoverridable, boolean isQueryProfile, QueryProfileType type, DimensionValues variant)