Interface SnowflakeResultSetSerializable
-
public interface SnowflakeResultSetSerializableThis interface defines Snowflake specific APIs to access the data wrapped in the result set serializable object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSnowflakeResultSetSerializable.ResultSetRetrieveConfig
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCompressedDataSizeInBytes()Retrieve compressed data size included in the ResultSet Serializable object.ResultSetgetResultSet(SnowflakeResultSetSerializable.ResultSetRetrieveConfig resultSetRetrieveConfig)Get ResultSet from the ResultSet Serializable object so that the user can access the data.longgetRowCount()Retrieve total row count included in the ResultSet Serializable object.longgetUncompressedDataSizeInBytes()Retrieve uncompressed data size included in the ResultSet Serializable object.
-
-
-
Method Detail
-
getResultSet
ResultSet getResultSet(SnowflakeResultSetSerializable.ResultSetRetrieveConfig resultSetRetrieveConfig) throws SQLException
Get ResultSet from the ResultSet Serializable object so that the user can access the data.- Parameters:
resultSetRetrieveConfig- The extra info to retrieve the result set.- Returns:
- a ResultSet which represents for the data wrapped in the object
- Throws:
SQLException- if an error occurs
-
getRowCount
long getRowCount() throws SQLExceptionRetrieve total row count included in the ResultSet Serializable object.- Returns:
- the total row count from metadata
- Throws:
SQLException- if an error occurs
-
getCompressedDataSizeInBytes
long getCompressedDataSizeInBytes() throws SQLExceptionRetrieve compressed data size included in the ResultSet Serializable object.- Returns:
- the total compressed data size in bytes from metadata
- Throws:
SQLException- if an error occurs
-
getUncompressedDataSizeInBytes
long getUncompressedDataSizeInBytes() throws SQLExceptionRetrieve uncompressed data size included in the ResultSet Serializable object.- Returns:
- the total uncompressed data size in bytes from metadata
- Throws:
SQLException- if an error occurs
-
-