Class StreamingChunkDownloadTask
- java.lang.Object
-
- com.databricks.jdbc.api.impl.arrow.StreamingChunkDownloadTask
-
public class StreamingChunkDownloadTask extends Object implements Callable<Void>
A download task for streaming chunk provider. Uses aLinkRefreshercallback for link refresh, which enables theStreamingChunkProviderto coalesce concurrent expired-link refreshes into a single batch RPC.
-
-
Constructor Summary
Constructors Constructor Description StreamingChunkDownloadTask(ArrowResultChunk chunk, IDatabricksHttpClient httpClient, CompressionCodec compressionCodec, com.databricks.jdbc.api.impl.arrow.LinkRefresher linkRefresher, double cloudFetchSpeedThreshold)
-
-
-
Constructor Detail
-
StreamingChunkDownloadTask
public StreamingChunkDownloadTask(ArrowResultChunk chunk, IDatabricksHttpClient httpClient, CompressionCodec compressionCodec, com.databricks.jdbc.api.impl.arrow.LinkRefresher linkRefresher, double cloudFetchSpeedThreshold)
-
-
Method Detail
-
call
public Void call() throws DatabricksSQLException
- Specified by:
callin interfaceCallable<Void>- Throws:
DatabricksSQLException
-
-