Class SearchChainResolver
- java.lang.Object
-
- com.yahoo.search.federation.sourceref.SearchChainResolver
-
public class SearchChainResolver extends java.lang.Object
Resolves (source, provider) component specifications to a search chain invocation spec. The provider component specification is given by the entry in the queryMap with key 'source.<source-name>.provider'.The diagram shows the relationship between source, provider and the result: (source is used to select row, provider is used to select column.) Provider id = null is used for regular search chains.
Provider id null |----+---+---+---| | o | | | | |----+---+---+---| Source id | | o | o | | |----+---+---+---| | | | | o | |----+---+---+---| o: SearchChainInvocationSpec
- Author:
- Tony Vaagenes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchChainResolver.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.SortedSet<Target>
allTopLevelTargets()
java.util.SortedSet<Target>
defaultTargets()
SearchChainInvocationSpec
resolve(com.yahoo.component.ComponentSpecification sourceRef, com.yahoo.processing.request.Properties sourceToProviderMap)
-
-
-
Method Detail
-
resolve
public SearchChainInvocationSpec resolve(com.yahoo.component.ComponentSpecification sourceRef, com.yahoo.processing.request.Properties sourceToProviderMap) throws UnresolvedSearchChainException
- Throws:
UnresolvedSearchChainException
-
allTopLevelTargets
public java.util.SortedSet<Target> allTopLevelTargets()
-
defaultTargets
public java.util.SortedSet<Target> defaultTargets()
-
-