Class SearchChainInvocationSpec
java.lang.Object
com.yahoo.search.federation.sourceref.SearchChainInvocationSpec
- All Implemented Interfaces:
ModifyQueryAndResult
,Cloneable
Specifies which search chain should be run and how it should be run.
This is a value object.
- Author:
- Tony Vaagenes
-
Field Summary
Modifier and TypeFieldDescriptionfinal FederationOptions
final com.yahoo.component.ComponentId
The provider to invoke, or null if nonefinal com.yahoo.component.ComponentId
final com.yahoo.component.ComponentId
The source to invoke, or null if none -
Constructor Summary
ConstructorDescriptionSearchChainInvocationSpec
(com.yahoo.component.ComponentId searchChainId, FederationOptions federationOptions, List<String> schemas) -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
void
modifyTargetQuery
(Query query) void
modifyTargetResult
(Result result)
-
Field Details
-
searchChainId
public final com.yahoo.component.ComponentId searchChainId -
source
public final com.yahoo.component.ComponentId sourceThe source to invoke, or null if none -
provider
public final com.yahoo.component.ComponentId providerThe provider to invoke, or null if none -
federationOptions
-
schemas
-
-
Constructor Details
-
SearchChainInvocationSpec
public SearchChainInvocationSpec(com.yahoo.component.ComponentId searchChainId, FederationOptions federationOptions, List<String> schemas)
-
-
Method Details
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
equals
-
hashCode
public int hashCode() -
modifyTargetQuery
- Specified by:
modifyTargetQuery
in interfaceModifyQueryAndResult
-
modifyTargetResult
- Specified by:
modifyTargetResult
in interfaceModifyQueryAndResult
-