Package com.yahoo.search.federation
Class FederationConfig.Target.SearchChain
- java.lang.Object
-
- com.yahoo.config.Node
-
- com.yahoo.config.InnerNode
-
- com.yahoo.search.federation.FederationConfig.Target.SearchChain
-
- Enclosing class:
- FederationConfig.Target
public static final class FederationConfig.Target.SearchChain extends com.yahoo.config.InnerNode
This class represents federation.target[].searchChain[]
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FederationConfig.Target.SearchChain.Builder
-
Constructor Summary
Constructors Constructor Description SearchChain(FederationConfig.Target.SearchChain.Builder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
documentTypes()
java.lang.String
documentTypes(int i)
boolean
optional()
java.lang.String
providerId()
int
requestTimeoutMillis()
java.lang.String
searchChainId()
int
timeoutMillis()
boolean
useByDefault()
-
-
-
Constructor Detail
-
SearchChain
public SearchChain(FederationConfig.Target.SearchChain.Builder builder)
-
-
Method Detail
-
searchChainId
public java.lang.String searchChainId()
- Returns:
- federation.target[].searchChain[].searchChainId
-
timeoutMillis
public int timeoutMillis()
- Returns:
- federation.target[].searchChain[].timeoutMillis
-
requestTimeoutMillis
public int requestTimeoutMillis()
- Returns:
- federation.target[].searchChain[].requestTimeoutMillis
-
optional
public boolean optional()
- Returns:
- federation.target[].searchChain[].optional
-
useByDefault
public boolean useByDefault()
- Returns:
- federation.target[].searchChain[].useByDefault
-
providerId
public java.lang.String providerId()
- Returns:
- federation.target[].searchChain[].providerId
-
documentTypes
public java.util.List<java.lang.String> documentTypes()
- Returns:
- federation.target[].searchChain[].documentTypes[]
-
documentTypes
public java.lang.String documentTypes(int i)
- Parameters:
i
- the index of the value to return- Returns:
- federation.target[].searchChain[].documentTypes[]
-
-