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 Details

    • FederationTarget

      public FederationTarget(com.yahoo.component.chain.Chain<Searcher> chain, FederationOptions federationOptions, T customData)
  • Method Details

    • 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.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object