HttpReadSettings Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. StoreReadSettings - com.
azure. analytics. synapse. artifacts. models. HttpReadSettings
- com.
- com.
public final class HttpReadSettings
extends StoreReadSettings
Http read settings.
Constructor Summary
| Constructor | Description |
|---|---|
| HttpReadSettings() |
Creates an instance of Http |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Http |
fromJson(JsonReader jsonReader)
Reads an instance of Http |
| Object |
getAdditionalColumns()
Get the additional |
| Object |
getAdditionalHeaders()
Get the additional |
| Object |
getEnablePartitionDiscovery()
Get the enable |
| Object |
getPartitionRootPath()
Get the partition |
| Object |
getRequestBody()
Get the request |
| Object |
getRequestMethod()
Get the request |
| Object |
getRequestTimeout()
Get the request |
| String |
getType()
Get the type property: The read setting type. |
|
Http |
setAdditionalColumns(Object additionalColumns)
Set the additional |
|
Http |
setAdditionalHeaders(Object additionalHeaders)
Set the additional |
|
Http |
setEnablePartitionDiscovery(Object enablePartitionDiscovery)
Set the enable |
|
Http |
setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the max |
|
Http |
setPartitionRootPath(Object partitionRootPath)
Set the partition |
|
Http |
setRequestBody(Object requestBody)
Set the request |
|
Http |
setRequestMethod(Object requestMethod)
Set the request |
|
Http |
setRequestTimeout(Object requestTimeout)
Set the request |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from StoreReadSettings
Methods inherited from java.lang.Object
Constructor Details
HttpReadSettings
public HttpReadSettings()
Creates an instance of HttpReadSettings class.
Method Details
fromJson
public static HttpReadSettings fromJson(JsonReader jsonReader)
Reads an instance of HttpReadSettings from the JsonReader.
Parameters:
Returns:
Throws:
getAdditionalColumns
public Object getAdditionalColumns()
Get the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
Returns:
getAdditionalHeaders
public Object getAdditionalHeaders()
Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string).
Returns:
getEnablePartitionDiscovery
public Object getEnablePartitionDiscovery()
Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean).
Returns:
getPartitionRootPath
public Object getPartitionRootPath()
Get the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).
Returns:
getRequestBody
public Object getRequestBody()
Get the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string).
Returns:
getRequestMethod
public Object getRequestMethod()
Get the requestMethod property: The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string).
Returns:
getRequestTimeout
public Object getRequestTimeout()
Get the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.
Returns:
getType
public String getType()
Get the type property: The read setting type.
Overrides:
HttpReadSettings.getType()Returns:
setAdditionalColumns
public HttpReadSettings setAdditionalColumns(Object additionalColumns)
Set the additionalColumns property: Specifies the additional columns to be added to source data. Type: array of objects(AdditionalColumns) (or Expression with resultType array of objects).
Parameters:
Returns:
setAdditionalHeaders
public HttpReadSettings setAdditionalHeaders(Object additionalHeaders)
Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API. Type: string (or Expression with resultType string).
Parameters:
Returns:
setEnablePartitionDiscovery
public HttpReadSettings setEnablePartitionDiscovery(Object enablePartitionDiscovery)
Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery. Type: boolean (or Expression with resultType boolean).
Parameters:
Returns:
setMaxConcurrentConnections
public HttpReadSettings setMaxConcurrentConnections(Object maxConcurrentConnections)
Set the maxConcurrentConnections property: The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
Overrides:
HttpReadSettings.setMaxConcurrentConnections(Object maxConcurrentConnections)Parameters:
setPartitionRootPath
public HttpReadSettings setPartitionRootPath(Object partitionRootPath)
Set the partitionRootPath property: Specify the root path where partition discovery starts from. Type: string (or Expression with resultType string).
Parameters:
Returns:
setRequestBody
public HttpReadSettings setRequestBody(Object requestBody)
Set the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST. Type: string (or Expression with resultType string).
Parameters:
Returns:
setRequestMethod
public HttpReadSettings setRequestMethod(Object requestMethod)
Set the requestMethod property: The HTTP method used to call the RESTful API. The default is GET. Type: string (or Expression with resultType string).
Parameters:
Returns:
setRequestTimeout
public HttpReadSettings setRequestTimeout(Object requestTimeout)
Set the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.
Parameters:
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
HttpReadSettings.toJson(JsonWriter jsonWriter)Parameters:
Throws: