Class HttpReadSettings

    • Constructor Detail

      • HttpReadSettings

        public HttpReadSettings()
    • Method Detail

      • 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:
        the requestMethod value.
      • 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:
        requestMethod - the requestMethod value to set.
        Returns:
        the HttpReadSettings object itself.
      • 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:
        the requestBody value.
      • 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:
        requestBody - the requestBody value to set.
        Returns:
        the HttpReadSettings object itself.
      • 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:
        the additionalHeaders value.
      • 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:
        additionalHeaders - the additionalHeaders value to set.
        Returns:
        the HttpReadSettings object itself.
      • getRequestTimeout

        public Object getRequestTimeout()
        Get the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.
        Returns:
        the requestTimeout value.
      • 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:
        requestTimeout - the requestTimeout value to set.
        Returns:
        the HttpReadSettings object itself.
      • isEnablePartitionDiscovery

        public Boolean isEnablePartitionDiscovery()
        Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.
        Returns:
        the enablePartitionDiscovery value.
      • setEnablePartitionDiscovery

        public HttpReadSettings setEnablePartitionDiscovery​(Boolean enablePartitionDiscovery)
        Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.
        Parameters:
        enablePartitionDiscovery - the enablePartitionDiscovery value to set.
        Returns:
        the HttpReadSettings object itself.
      • 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:
        the partitionRootPath value.
      • 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:
        partitionRootPath - the partitionRootPath value to set.
        Returns:
        the HttpReadSettings object itself.
      • 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:
        setMaxConcurrentConnections in class StoreReadSettings
        Parameters:
        maxConcurrentConnections - the maxConcurrentConnections value to set.
        Returns:
        the StoreReadSettings object itself.