public abstract class SFBaseResultSet extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
isClosed |
protected List<MetaDataOfBinds> |
metaDataOfBinds |
protected int |
numberOfBinds |
protected Map<String,Object> |
parameters |
protected SFResultSetMetaData |
resultSetMetaData |
protected long |
resultVersion |
protected int |
row |
protected SFSession |
session |
| Constructor and Description |
|---|
SFBaseResultSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
absolute(int row) |
void |
close() |
abstract BigDecimal |
getBigDecimal(int columnIndex) |
abstract BigDecimal |
getBigDecimal(int columnIndex,
int scale) |
abstract boolean |
getBoolean(int columnIndex) |
abstract byte |
getByte(int columnIndex) |
abstract byte[] |
getBytes(int columnIndex) |
abstract Date |
getDate(int columnIndex) |
abstract double |
getDouble(int columnIndex) |
abstract float |
getFloat(int columnIndex) |
abstract int |
getInt(int columnIndex) |
abstract long |
getLong(int columnIndex) |
SFResultSetMetaData |
getMetaData() |
protected List<MetaDataOfBinds> |
getMetaDataOfBinds() |
protected int |
getNumberOfBinds() |
abstract Object |
getObject(int columnIndex) |
abstract String |
getQueryId() |
int |
getRow() |
abstract short |
getShort(int columnIndex) |
abstract SFStatementType |
getStatementType() |
abstract String |
getString(int columnIndex) |
abstract Time |
getTime(int columnIndex) |
abstract Timestamp |
getTimestamp(int columnIndex,
TimeZone tz) |
abstract boolean |
isAfterLast() |
boolean |
isArrayBindSupported() |
boolean |
isBeforeFirst() |
boolean |
isClosed() |
boolean |
isFirst() |
abstract boolean |
isLast() |
boolean |
next() |
boolean |
previous() |
boolean |
relative(int rows) |
void |
setSession(SFSession session) |
abstract void |
setStatementType(SFStatementType statementType) |
boolean |
wasNull() |
protected SFResultSetMetaData resultSetMetaData
protected int row
protected long resultVersion
protected int numberOfBinds
protected List<MetaDataOfBinds> metaDataOfBinds
protected SFSession session
protected boolean isClosed
public abstract boolean isLast()
public abstract boolean isAfterLast()
public abstract String getString(int columnIndex) throws SFException
SFExceptionpublic abstract boolean getBoolean(int columnIndex)
throws SFException
SFExceptionpublic abstract byte getByte(int columnIndex)
throws SFException
SFExceptionpublic abstract short getShort(int columnIndex)
throws SFException
SFExceptionpublic abstract int getInt(int columnIndex)
throws SFException
SFExceptionpublic abstract long getLong(int columnIndex)
throws SFException
SFExceptionpublic abstract float getFloat(int columnIndex)
throws SFException
SFExceptionpublic abstract double getDouble(int columnIndex)
throws SFException
SFExceptionpublic abstract byte[] getBytes(int columnIndex)
throws SFException
SFExceptionpublic abstract Date getDate(int columnIndex) throws SFException
SFExceptionpublic abstract Time getTime(int columnIndex) throws SFException
SFExceptionpublic abstract Timestamp getTimestamp(int columnIndex, TimeZone tz) throws SFException
SFExceptionpublic abstract Object getObject(int columnIndex) throws SFException
SFExceptionpublic abstract BigDecimal getBigDecimal(int columnIndex) throws SFException
SFExceptionpublic abstract BigDecimal getBigDecimal(int columnIndex, int scale) throws SFException
SFExceptionpublic abstract SFStatementType getStatementType()
public abstract void setStatementType(SFStatementType statementType) throws SQLException
SQLExceptionpublic abstract String getQueryId()
public void setSession(SFSession session)
public boolean next()
throws SFException,
SnowflakeSQLException
SFExceptionSnowflakeSQLExceptionpublic void close()
public boolean wasNull()
public SFResultSetMetaData getMetaData() 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()
protected List<MetaDataOfBinds> getMetaDataOfBinds()
public boolean isFirst()
public boolean isBeforeFirst()
public boolean isClosed()
public boolean isArrayBindSupported()
Copyright © 2019. All rights reserved.