Class ArrowResultChunk

    • Method Detail

      • downloadData

        protected void downloadData​(IDatabricksHttpClient httpClient,
                                    CompressionCodec compressionCodec,
                                    double speedThreshold)
                             throws DatabricksParsingException,
                                    IOException
        Downloads and initializes data for this chunk using the provided HTTP client and compression codec.

        Downloads and processes the Arrow data chunk using the provided HTTP client and compression codec. Makes a synchronous HTTP GET request to fetch the data, decompresses it, and initializes the chunk's data structures.

        Specified by:
        downloadData in class AbstractArrowResultChunk
        Parameters:
        httpClient - the HTTP client used to download the chunk data
        compressionCodec - the codec used to decompress the downloaded data
        speedThreshold - the minimum expected download speed in MB/s for logging warnings
        Throws:
        DatabricksParsingException - if there is an error parsing or processing the data
        IOException - if there is an error during download or data reading