Class Source
- java.lang.Object
-
- com.yahoo.config.model.producer.AbstractConfigProducer<AbstractConfigProducer<?>>
-
- com.yahoo.vespa.model.container.component.chain.Chain<Searcher<?>>
-
- com.yahoo.vespa.model.container.search.searchchain.SearchChain
-
- com.yahoo.vespa.model.container.search.searchchain.GenericTarget
-
- com.yahoo.vespa.model.container.search.searchchain.Source
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,ConfigProducer
,java.io.Serializable
public class Source extends GenericTarget
Config producer for source, which is contained in a provider.- Author:
- Tony Vaagenes
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Source.GroupOption
-
Field Summary
Fields Modifier and Type Field Description Source.GroupOption
groupOption
-
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
-
Constructor Summary
Constructors Constructor Description Source(com.yahoo.component.chain.model.ChainSpecification specWithoutInnerSearchers, com.yahoo.search.searchchain.model.federation.FederationOptions federationOptions, Source.GroupOption groupOption)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.yahoo.search.searchchain.model.federation.FederationOptions
federationOptions()
com.yahoo.component.chain.model.ChainSpecification
getChainSpecification()
com.yahoo.component.ComponentId
getGlobalComponentId()
Provider
getParentProvider()
protected boolean
useByDefault()
The value for useByDefault in case the user have not specified any-
Methods inherited from class com.yahoo.vespa.model.container.search.searchchain.SearchChain
getDocumentTypes, toString
-
Methods inherited from class com.yahoo.vespa.model.container.component.chain.Chain
addInnerComponent, getComponentId, getId, getInnerComponents, getType
-
Methods inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
addChild, addConfigId, addDescendantService, addUserConfig, cascadeConfig, dump, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getConfigId, getDescendantServices, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, removeChild, setParent, setUserConfigs, stateIsHosted, validate
-
-
-
-
Field Detail
-
groupOption
public final Source.GroupOption groupOption
-
-
Constructor Detail
-
Source
public Source(com.yahoo.component.chain.model.ChainSpecification specWithoutInnerSearchers, com.yahoo.search.searchchain.model.federation.FederationOptions federationOptions, Source.GroupOption groupOption)
-
-
Method Detail
-
federationOptions
public com.yahoo.search.searchchain.model.federation.FederationOptions federationOptions()
- Overrides:
federationOptions
in classGenericTarget
-
useByDefault
protected boolean useByDefault()
Description copied from class:GenericTarget
The value for useByDefault in case the user have not specified any- Specified by:
useByDefault
in classGenericTarget
-
getParentProvider
public Provider getParentProvider()
-
getChainSpecification
public com.yahoo.component.chain.model.ChainSpecification getChainSpecification()
- Overrides:
getChainSpecification
in classChain<Searcher<?>>
-
getGlobalComponentId
public com.yahoo.component.ComponentId getGlobalComponentId()
- Overrides:
getGlobalComponentId
in classChain<Searcher<?>>
-
-