Package net.snowflake.client.jdbc
Class SnowflakeResultChunk
- java.lang.Object
-
- net.snowflake.client.jdbc.SnowflakeResultChunk
-
- Direct Known Subclasses:
ArrowResultChunk,JsonResultChunk
public abstract class SnowflakeResultChunk extends Object
Class for result chunkCreated by jhuang on 11/12/14.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnowflakeResultChunk.DownloadState
-
Constructor Summary
Constructors Constructor Description SnowflakeResultChunk(String url, int rowCount, int colCount, int uncompressedSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColCount()ConditiongetDownloadCondition()StringgetDownloadError()SnowflakeResultChunk.DownloadStategetDownloadState()longgetDownloadTime()ReentrantLockgetLock()longgetParseTime()intgetRowCount()StringgetScrubbedUrl()intgetUncompressedSize()StringgetUrl()booleanisReleased()voidsetDownloadError(String downloadError)voidsetDownloadState(SnowflakeResultChunk.DownloadState downloadState)voidsetDownloadTime(long downloadTime)voidsetParseTime(long parseTime)voidsetReleased()
-
-
-
Constructor Detail
-
SnowflakeResultChunk
public SnowflakeResultChunk(String url, int rowCount, int colCount, int uncompressedSize)
-
-
Method Detail
-
isReleased
public boolean isReleased()
-
setReleased
public void setReleased()
-
getUrl
public final String getUrl()
-
getScrubbedUrl
public final String getScrubbedUrl()
-
getRowCount
public final int getRowCount()
-
getUncompressedSize
public final int getUncompressedSize()
-
getColCount
public final int getColCount()
-
getDownloadTime
public long getDownloadTime()
-
setDownloadTime
public void setDownloadTime(long downloadTime)
-
getParseTime
public long getParseTime()
-
setParseTime
public void setParseTime(long parseTime)
-
getLock
public ReentrantLock getLock()
-
getDownloadCondition
public Condition getDownloadCondition()
-
getDownloadError
public String getDownloadError()
-
setDownloadError
public void setDownloadError(String downloadError)
-
getDownloadState
public SnowflakeResultChunk.DownloadState getDownloadState()
-
setDownloadState
public void setDownloadState(SnowflakeResultChunk.DownloadState downloadState)
-
-