Package net.snowflake.client.jdbc
Class ChunkDownloadContext
- java.lang.Object
-
- net.snowflake.client.jdbc.ChunkDownloadContext
-
public class ChunkDownloadContext extends Object
Simple struct to contain download context for a chunk. This is useful to organize the collection of properties that may be used for containing download information, and allows for the getInputStream() method to be overridden.
-
-
Constructor Summary
Constructors Constructor Description ChunkDownloadContext(SnowflakeChunkDownloader chunkDownloader, SnowflakeResultChunk resultChunk, String qrmk, int chunkIndex, Map<String,String> chunkHeadersMap, int networkTimeoutInMilli, int authTimeout, int socketTimeout, int maxHttpRetries, SFBaseSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAuthTimeout()
SnowflakeChunkDownloader
getChunkDownloader()
Map<String,String>
getChunkHeadersMap()
int
getChunkIndex()
int
getNetworkTimeoutInMilli()
String
getQrmk()
SnowflakeResultChunk
getResultChunk()
SFBaseSession
getSession()
int
getSocketTimeout()
-
-
-
Constructor Detail
-
ChunkDownloadContext
public ChunkDownloadContext(SnowflakeChunkDownloader chunkDownloader, SnowflakeResultChunk resultChunk, String qrmk, int chunkIndex, Map<String,String> chunkHeadersMap, int networkTimeoutInMilli, int authTimeout, int socketTimeout, int maxHttpRetries, SFBaseSession session)
-
-
Method Detail
-
getChunkDownloader
public SnowflakeChunkDownloader getChunkDownloader()
-
getResultChunk
public SnowflakeResultChunk getResultChunk()
-
getQrmk
public String getQrmk()
-
getChunkIndex
public int getChunkIndex()
-
getNetworkTimeoutInMilli
public int getNetworkTimeoutInMilli()
-
getAuthTimeout
public int getAuthTimeout()
-
getSocketTimeout
public int getSocketTimeout()
-
getSession
public SFBaseSession getSession()
-
-