The httpModel name
The url to send the request to
The HTTP methods: GET, POST, PUT, PATCH, DELETE
The name of the DataFrame column to be used as http headers, it must be of type Map[String,String], if None, no header will be sent in the request, except for the content-type and content-encoding ones
The list of DataFrame columns to be rendered as json in the http request body. If the passed list is empty, all the fields, except the headers field (if any) will be rendered as a json object. If there is only one field, the behaviour is controlled by the structured field
The HttpCompression
The format of the request content
It enable the request body logger
Indicates how the request body will be rendered. The effect of this configuration has effect only if the DataFrame contains only one column to be sent and only if it is of ArrayType or MapType. If structured is true the array or map will always be enclosed in a json object, otherwise the map or the array will be at the top level of the json document. Input dataframe:
+---------+ | values | +---------+ |[3, 4, 5]| +---------+
Request with structured = true
{"values" : [3, 4, 5]}
Request with structured = false
[3, 4, 5]
The HttpCompression
The name of the DataFrame column to be used as http headers, it must be of type Map[String,String], if None, no header will be sent in the request, except for the content-type and content-encoding ones
It enable the request body logger
The format of the request content
The HTTP methods: GET, POST, PUT, PATCH, DELETE
The httpModel name
Indicates how the request body will be rendered.
Indicates how the request body will be rendered. The effect of this configuration has effect only if the DataFrame contains only one column to be sent and only if it is of ArrayType or MapType. If structured is true the array or map will always be enclosed in a json object, otherwise the map or the array will be at the top level of the json document. Input dataframe:
+---------+ | values | +---------+ |[3, 4, 5]| +---------+
Request with structured = true
{"values" : [3, 4, 5]}
Request with structured = false
[3, 4, 5]
The url to send the request to
The list of DataFrame columns to be rendered as json in the http request body.
The list of DataFrame columns to be rendered as json in the http request body. If the passed list is empty, all the fields, except the headers field (if any) will be rendered as a json object. If there is only one field, the behaviour is controlled by the structured field
The HttpModel used by HttpWriter to send data with HTTP protocol
The httpModel name
The url to send the request to
The HTTP methods: GET, POST, PUT, PATCH, DELETE
The name of the DataFrame column to be used as http headers, it must be of type Map[String,String], if None, no header will be sent in the request, except for the content-type and content-encoding ones
The list of DataFrame columns to be rendered as json in the http request body. If the passed list is empty, all the fields, except the headers field (if any) will be rendered as a json object. If there is only one field, the behaviour is controlled by the structured field
The HttpCompression
The format of the request content
It enable the request body logger
Indicates how the request body will be rendered. The effect of this configuration has effect only if the DataFrame contains only one column to be sent and only if it is of ArrayType or MapType. If structured is true the array or map will always be enclosed in a json object, otherwise the map or the array will be at the top level of the json document. Input dataframe:
Request with structured = true
Request with structured = false