public abstract class SFBaseResultSet extends Object
| Modifier and Type | Field and Description |
|---|---|
protected net.snowflake.common.core.SFBinaryFormat |
binaryFormatter |
protected net.snowflake.common.core.SnowflakeDateTimeFormat |
dateFormatter |
protected boolean |
honorClientTZForTimestampNTZ |
protected boolean |
isClosed |
protected Object[] |
nextRow |
protected int |
numberOfBinds |
protected Map<String,Object> |
parameters |
protected SFResultSetMetaData |
resultSetMetaData |
protected long |
resultVersion |
protected int |
row |
protected SFSession |
session |
protected net.snowflake.common.core.SnowflakeDateTimeFormat |
timeFormatter |
protected net.snowflake.common.core.SnowflakeDateTimeFormat |
timestampLTZFormatter |
protected net.snowflake.common.core.SnowflakeDateTimeFormat |
timestampNTZFormatter |
protected net.snowflake.common.core.SnowflakeDateTimeFormat |
timestampTZFormatter |
protected TimeZone |
timeZone |
protected boolean |
wasNull |
| Constructor and Description |
|---|
SFBaseResultSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
absolute(int row) |
void |
close() |
BigDecimal |
getBigDecimal(int columnIndex) |
BigDecimal |
getBigDecimal(int columnIndex,
int scale) |
boolean |
getBoolean(int columnIndex) |
byte[] |
getBytes(int columnIndex) |
Date |
getDate(int columnIndex) |
Date |
getDate(int columnIndex,
TimeZone tz) |
double |
getDouble(int columnIndex) |
float |
getFloat(int columnIndex) |
int |
getInt(int columnIndex) |
long |
getLong(int columnIndex) |
SFResultSetMetaData |
getMetaData() |
protected int |
getNumberOfBinds() |
Object |
getObject(int columnIndex) |
protected abstract Object |
getObjectInternal(int columnIndex) |
int |
getRow() |
short |
getShort(int columnIndex) |
String |
getString(int columnIndex) |
Time |
getTime(int columnIndex) |
Timestamp |
getTimestamp(int columnIndex,
TimeZone tz) |
boolean |
isClosed() |
boolean |
isFirst() |
boolean |
next() |
boolean |
previous() |
boolean |
relative(int rows) |
void |
setSession(SFSession session) |
boolean |
wasNull() |
protected boolean wasNull
protected Object[] nextRow
protected SFResultSetMetaData resultSetMetaData
protected int row
protected TimeZone timeZone
protected net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter
protected net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter
protected net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter
protected net.snowflake.common.core.SnowflakeDateTimeFormat dateFormatter
protected net.snowflake.common.core.SnowflakeDateTimeFormat timeFormatter
protected boolean honorClientTZForTimestampNTZ
protected net.snowflake.common.core.SFBinaryFormat binaryFormatter
protected long resultVersion
protected int numberOfBinds
protected SFSession session
protected boolean isClosed
public void setSession(SFSession session)
public boolean next()
throws SFException,
SnowflakeSQLException
SFExceptionSnowflakeSQLExceptionpublic void close()
public boolean wasNull()
public String getString(int columnIndex) throws SFException
SFExceptionpublic boolean getBoolean(int columnIndex)
throws SFException
SFExceptionpublic short getShort(int columnIndex)
throws SFException
SFExceptionpublic int getInt(int columnIndex)
throws SFException
SFExceptionpublic long getLong(int columnIndex)
throws SFException
SFExceptionpublic float getFloat(int columnIndex)
throws SFException
SFExceptionpublic double getDouble(int columnIndex)
throws SFException
SFExceptionpublic byte[] getBytes(int columnIndex)
throws SFException
SFExceptionpublic Date getDate(int columnIndex, TimeZone tz) throws SFException
SFExceptionpublic Date getDate(int columnIndex) throws SFException
SFExceptionpublic Time getTime(int columnIndex) throws SFException
SFExceptionpublic Timestamp getTimestamp(int columnIndex, TimeZone tz) throws SFException
SFExceptionpublic SFResultSetMetaData getMetaData() throws SFException
SFExceptionprotected abstract Object getObjectInternal(int columnIndex) throws SFException
SFExceptionpublic Object getObject(int columnIndex) throws SFException
SFExceptionpublic BigDecimal getBigDecimal(int columnIndex) throws SFException
SFExceptionpublic BigDecimal getBigDecimal(int columnIndex, int scale) throws SFException
SFExceptionpublic int getRow()
throws SQLException
SQLExceptionpublic boolean absolute(int row)
throws SFException
SFExceptionpublic boolean relative(int rows)
throws SFException
SFExceptionpublic boolean previous()
throws SFException
SFExceptionprotected int getNumberOfBinds()
public boolean isFirst()
public boolean isClosed()
Copyright © 2017. All rights reserved.