Uses of Class
com.yahoo.search.query.profile.DimensionBinding
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 DimensionBinding in com.yahoo.search.query.profile
Modifier and TypeFieldDescriptionstatic final DimensionBinding
DimensionBinding.invalidBinding
static final DimensionBinding
DimensionBinding.nullBinding
Modifier and TypeMethodDescriptionDimensionBinding.combineWith
(DimensionBinding other) Combines this binding with another if compatible.Returns a binding for a (possibly) new set of variants.static DimensionBinding
DimensionBinding.createFrom
(List<String> dimensions, DimensionValues dimensionValues) Creates a binding from a variant and a context.static DimensionBinding
Creates a binding from a variant and a context.static DimensionBinding
DimensionBinding.createFrom
(Map<String, String> values) Modifier and TypeMethodDescriptionprotected final void
QueryProfile.accept
(com.yahoo.search.query.profile.QueryProfileVisitor visitor, DimensionBinding dimensionBinding, QueryProfile owner) void
QueryProfileVariant.accept
(boolean allowContent, QueryProfileType type, com.yahoo.search.query.profile.QueryProfileVisitor visitor, DimensionBinding dimensionBinding) Accepts a visitor to the values of thisDimensionBinding.combineWith
(DimensionBinding other) Combines this binding with another if compatible.protected QueryProfile
BackedOverridableQueryProfile.createSubProfile
(String name, DimensionBinding dimensionBinding) protected QueryProfile
OverridableQueryProfile.createSubProfile
(String name, DimensionBinding binding) protected QueryProfile
QueryProfile.createSubProfile
(String name, DimensionBinding dimensionBinding) Looks up all inherited profiles and adds any that matches this name.QueryProfileVariants.get
(String name, QueryProfileType type, boolean allowQueryProfileResult, DimensionBinding dimensionBinding) Returns the most specific matching value of a name for a given set of canonical dimension values.protected Object
BackedOverridableQueryProfile.localLookup
(String localName, DimensionBinding dimensionBinding) protected Object
QueryProfile.localLookup
(String name, DimensionBinding dimensionBinding) Do a variant-aware content lookup in thisprotected Object
QueryProfile.lookup
(com.yahoo.processing.request.CompoundName name, boolean allowQueryProfileResult, DimensionBinding dimensionBinding) protected void
QueryProfile.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)protected QueryProfile
QueryProfile.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)protected void
BackedOverridableQueryProfile.visitInherited
(boolean allowContent, com.yahoo.search.query.profile.QueryProfileVisitor visitor, DimensionBinding dimensionBinding, QueryProfile owner) protected void
QueryProfile.visitInherited
(boolean allowContent, com.yahoo.search.query.profile.QueryProfileVisitor visitor, DimensionBinding dimensionBinding, QueryProfile owner) protected void
BackedOverridableQueryProfile.visitVariants
(boolean allowContent, com.yahoo.search.query.profile.QueryProfileVisitor visitor, DimensionBinding dimensionBinding) protected void
QueryProfile.visitVariants
(boolean allowContent, com.yahoo.search.query.profile.QueryProfileVisitor visitor, DimensionBinding dimensionBinding) -
Uses of DimensionBinding in com.yahoo.search.query.profile.compiled
Modifier and TypeMethodDescriptionstatic Binding
Binding.createFrom
(DimensionBinding dimensionBinding)