public final class WebApiSkill extends SearchIndexerSkill
| Constructor and Description |
|---|
WebApiSkill(List<InputFieldMappingEntry> inputs,
List<OutputFieldMappingEntry> outputs,
String uri)
Constructor of
SearchIndexerSkill. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getBatchSize()
Get the batchSize property: The desired batch size which indicates
number of documents.
|
Integer |
getDegreeOfParallelism()
Get the degreeOfParallelism property: If set, the number of parallel
calls that can be made to the Web API.
|
Map<String,String> |
getHttpHeaders()
Get the httpHeaders property: The headers required to make the http
request.
|
String |
getHttpMethod()
Get the httpMethod property: The method for the http request.
|
Duration |
getTimeout()
Get the timeout property: The desired timeout for the request.
|
String |
getUri()
Get the uri property: The url for the Web API.
|
WebApiSkill |
setBatchSize(Integer batchSize)
Set the batchSize property: The desired batch size which indicates
number of documents.
|
WebApiSkill |
setDegreeOfParallelism(Integer degreeOfParallelism)
Set the degreeOfParallelism property: If set, the number of parallel
calls that can be made to the Web API.
|
WebApiSkill |
setHttpHeaders(Map<String,String> httpHeaders)
Set the httpHeaders property: The headers required to make the http
request.
|
WebApiSkill |
setHttpMethod(String httpMethod)
Set the httpMethod property: The method for the http request.
|
WebApiSkill |
setTimeout(Duration timeout)
Set the timeout property: The desired timeout for the request.
|
getContext, getDescription, getInputs, getName, getOutputs, setContext, setDescription, setNamepublic WebApiSkill(List<InputFieldMappingEntry> inputs, List<OutputFieldMappingEntry> outputs, String uri)
SearchIndexerSkill.inputs - Inputs of the skills could be a column in the source data set, or the
output of an upstream skill.outputs - The output of a skill is either a field in a search index, or a value
that can be consumed as an input by another skill.uri - The url for the Web API.public String getUri()
public Map<String,String> getHttpHeaders()
public WebApiSkill setHttpHeaders(Map<String,String> httpHeaders)
httpHeaders - the httpHeaders value to set.public String getHttpMethod()
public WebApiSkill setHttpMethod(String httpMethod)
httpMethod - the httpMethod value to set.public Duration getTimeout()
public WebApiSkill setTimeout(Duration timeout)
timeout - the timeout value to set.public Integer getBatchSize()
public WebApiSkill setBatchSize(Integer batchSize)
batchSize - the batchSize value to set.public Integer getDegreeOfParallelism()
public WebApiSkill setDegreeOfParallelism(Integer degreeOfParallelism)
degreeOfParallelism - the degreeOfParallelism value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.