Class FederationTarget<T>
- java.lang.Object
-
- com.yahoo.search.federation.selection.FederationTarget<T>
-
public final class FederationTarget<T> extends Object
Represents a search chain that the federation searcher should send a query to, along with a timeout and custom data reserved for use by the TargetSelector.- Author:
- Tony Vaagenes
-
-
Constructor Summary
Constructors Constructor Description FederationTarget(com.yahoo.component.chain.Chain<Searcher> chain, FederationOptions federationOptions, T customData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
com.yahoo.component.chain.Chain<Searcher>
getChain()
T
getCustomData()
Any data that the TargetSelector wants to associate with this target.FederationOptions
getFederationOptions()
int
hashCode()
-
-
-
Constructor Detail
-
FederationTarget
public FederationTarget(com.yahoo.component.chain.Chain<Searcher> chain, FederationOptions federationOptions, T customData)
-
-
Method Detail
-
getChain
public com.yahoo.component.chain.Chain<Searcher> getChain()
-
getFederationOptions
public FederationOptions getFederationOptions()
-
getCustomData
public T getCustomData()
Any data that the TargetSelector wants to associate with this target. Owned exclusively by the TargetSelector that created this instance.
-
-