Package net.snowflake.client.jdbc
Class DefaultResultStreamProvider
- java.lang.Object
-
- net.snowflake.client.jdbc.DefaultResultStreamProvider
-
- All Implemented Interfaces:
ResultStreamProvider
public class DefaultResultStreamProvider extends Object implements ResultStreamProvider
-
-
Constructor Summary
Constructors Constructor Description DefaultResultStreamProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InputStream
detectGzipAndGetStream(InputStream is)
InputStream
getInputStream(ChunkDownloadContext context)
-
-
-
Method Detail
-
getInputStream
public InputStream getInputStream(ChunkDownloadContext context) throws Exception
- Specified by:
getInputStream
in interfaceResultStreamProvider
- Throws:
Exception
-
detectGzipAndGetStream
public static InputStream detectGzipAndGetStream(InputStream is) throws IOException
- Throws:
IOException
-
-