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
FieldsModifier and TypeFieldDescriptionfinal FederationOptionsfinal com.yahoo.component.ComponentIdThe provider to invoke, or null if nonefinal com.yahoo.component.ComponentIdfinal com.yahoo.component.ComponentIdThe source to invoke, or null if none -
Constructor Summary
ConstructorsConstructorDescriptionSearchChainInvocationSpec(com.yahoo.component.ComponentId searchChainId, FederationOptions federationOptions, List<String> schemas) -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()voidmodifyTargetQuery(Query query) voidmodifyTargetResult(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:
clonein classObject- Throws:
CloneNotSupportedException
-
equals
-
hashCode
public int hashCode() -
modifyTargetQuery
- Specified by:
modifyTargetQueryin interfaceModifyQueryAndResult
-
modifyTargetResult
- Specified by:
modifyTargetResultin interfaceModifyQueryAndResult
-