public class SFResultSet extends SFBaseResultSet
| Modifier and Type | Field and Description |
|---|---|
protected SFStatement |
statement |
binaryFormatter, dateFormatter, honorClientTZForTimestampNTZ, isClosed, nextRow, numberOfBinds, parameters, resultSetMetaData, resultVersion, row, session, timeFormatter, timestampLTZFormatter, timestampNTZFormatter, timestampTZFormatter, timeZone, wasNull| Constructor and Description |
|---|
SFResultSet(com.fasterxml.jackson.databind.JsonNode result,
SFStatement statement,
boolean sortResult)
Constructor takes a result from the API response that we get from
executing a SQL statement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected Object |
getObjectInternal(int columnIndex) |
long |
getStatementTypeId() |
boolean |
next()
Advance to next row
|
absolute, getBigDecimal, getBigDecimal, getBoolean, getBytes, getDate, getDate, getDouble, getFloat, getInt, getLong, getMetaData, getNumberOfBinds, getObject, getRow, getShort, getString, getTime, getTimestamp, isClosed, isFirst, previous, relative, setSession, wasNullprotected SFStatement statement
public SFResultSet(com.fasterxml.jackson.databind.JsonNode result,
SFStatement statement,
boolean sortResult)
throws SQLException,
SFException
result - result data in JSON formstatement - statement objectsortResult - true if sort results otherwise falseSQLException - exception raised from general SQL layersSFException - exception raised from Snowflake componentspublic boolean next()
throws SFException,
SnowflakeSQLException
next in class SFBaseResultSetSFExceptionSnowflakeSQLExceptionprotected Object getObjectInternal(int columnIndex) throws SFException
getObjectInternal in class SFBaseResultSetSFExceptionpublic void close()
close in class SFBaseResultSetpublic long getStatementTypeId()
Copyright © 2017. All rights reserved.