public interface ResultSet
extends java.lang.AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static int |
CLOSE_CURSORS_AT_COMMIT |
static int |
CONCUR_READ_ONLY |
static int |
CONCUR_UPDATABLE |
static int |
FETCH_FORWARD |
static int |
FETCH_REVERSE |
static int |
FETCH_UNKNOWN |
static int |
HOLD_CURSORS_OVER_COMMIT |
static int |
TYPE_FORWARD_ONLY |
static int |
TYPE_SCROLL_INSENSITIVE |
static int |
TYPE_SCROLL_SENSITIVE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
absolute(int row) |
void |
afterLast() |
void |
beforeFirst() |
void |
clearWarnings() |
void |
close() |
int |
findColumn(java.lang.String columnName) |
boolean |
first() |
BigDecimal |
getBigDecimal(int columnIndex) |
BigDecimal |
getBigDecimal(int columnIndex,
int scale) |
BigDecimal |
getBigDecimal(java.lang.String columnName) |
BigDecimal |
getBigDecimal(java.lang.String columnName,
int scale) |
boolean |
getBoolean(int columnIndex) |
boolean |
getBoolean(java.lang.String columnName) |
byte |
getByte(int columnIndex) |
byte |
getByte(java.lang.String columnName) |
byte[] |
getBytes(int columnIndex) |
byte[] |
getBytes(java.lang.String columnName) |
int |
getConcurrency() |
java.lang.String |
getCursorName() |
Date |
getDate(int columnIndex) |
Date |
getDate(java.lang.String columnName) |
double |
getDouble(int columnIndex) |
double |
getDouble(java.lang.String columnName) |
int |
getFetchDirection() |
int |
getFetchSize() |
int |
getInt(int columnIndex) |
int |
getInt(java.lang.String columnName) |
long |
getLong(int columnIndex) |
long |
getLong(java.lang.String columnName) |
ResultSetMetaData |
getMetaData() |
java.lang.Object |
getObject(int columnIndex) |
java.lang.Object |
getObject(java.lang.String columnName) |
int |
getRow() |
short |
getShort(int columnIndex) |
short |
getShort(java.lang.String columnName) |
Statement |
getStatement() |
java.lang.String |
getString(int columnIndex) |
java.lang.String |
getString(java.lang.String columnName) |
Time |
getTime(int columnIndex) |
Time |
getTime(java.lang.String columnName) |
Timestamp |
getTimestamp(int columnIndex) |
Timestamp |
getTimestamp(java.lang.String columnName) |
int |
getType() |
java.sql.SQLWarning |
getWarnings() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
boolean |
relative(int rows) |
void |
setFetchDirection(int direction) |
void |
setFetchSize(int rows) |
boolean |
wasNull() |
static final int FETCH_FORWARD
static final int FETCH_REVERSE
static final int FETCH_UNKNOWN
static final int TYPE_FORWARD_ONLY
static final int TYPE_SCROLL_INSENSITIVE
static final int TYPE_SCROLL_SENSITIVE
static final int CONCUR_READ_ONLY
static final int CONCUR_UPDATABLE
static final int HOLD_CURSORS_OVER_COMMIT
static final int CLOSE_CURSORS_AT_COMMIT
boolean next()
throws java.sql.SQLException
java.sql.SQLExceptionvoid close()
throws java.sql.SQLException
close in interface java.lang.AutoCloseablejava.sql.SQLExceptionboolean wasNull()
throws java.sql.SQLException
java.sql.SQLExceptionjava.lang.String getString(int columnIndex)
throws java.sql.SQLException
java.sql.SQLExceptionboolean getBoolean(int columnIndex)
throws java.sql.SQLException
java.sql.SQLExceptionbyte getByte(int columnIndex)
throws java.sql.SQLException
java.sql.SQLExceptionshort getShort(int columnIndex)
throws java.sql.SQLException
java.sql.SQLExceptionint getInt(int columnIndex)
throws java.sql.SQLException
java.sql.SQLExceptionlong getLong(int columnIndex)
throws java.sql.SQLException
java.sql.SQLExceptiondouble getDouble(int columnIndex)
throws java.sql.SQLException
java.sql.SQLExceptionBigDecimal getBigDecimal(int columnIndex, int scale) throws java.sql.SQLException
java.sql.SQLExceptionbyte[] getBytes(int columnIndex)
throws java.sql.SQLException
java.sql.SQLExceptionDate getDate(int columnIndex) throws java.sql.SQLException
java.sql.SQLExceptionTime getTime(int columnIndex) throws java.sql.SQLException
java.sql.SQLExceptionTimestamp getTimestamp(int columnIndex) throws java.sql.SQLException
java.sql.SQLExceptionjava.lang.String getString(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLExceptionboolean getBoolean(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLExceptionbyte getByte(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLExceptionshort getShort(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLExceptionint getInt(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLExceptionlong getLong(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLExceptiondouble getDouble(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLExceptionBigDecimal getBigDecimal(java.lang.String columnName, int scale) throws java.sql.SQLException
java.sql.SQLExceptionbyte[] getBytes(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLExceptionDate getDate(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLExceptionTime getTime(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLExceptionTimestamp getTimestamp(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLExceptionjava.sql.SQLWarning getWarnings()
throws java.sql.SQLException
java.sql.SQLExceptionvoid clearWarnings()
throws java.sql.SQLException
java.sql.SQLExceptionjava.lang.String getCursorName()
throws java.sql.SQLException
java.sql.SQLExceptionResultSetMetaData getMetaData() throws java.sql.SQLException
java.sql.SQLExceptionjava.lang.Object getObject(int columnIndex)
throws java.sql.SQLException
java.sql.SQLExceptionjava.lang.Object getObject(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLExceptionint findColumn(java.lang.String columnName)
throws java.sql.SQLException
java.sql.SQLExceptionBigDecimal getBigDecimal(int columnIndex) throws java.sql.SQLException
java.sql.SQLExceptionBigDecimal getBigDecimal(java.lang.String columnName) throws java.sql.SQLException
java.sql.SQLExceptionboolean isBeforeFirst()
throws java.sql.SQLException
java.sql.SQLExceptionboolean isAfterLast()
throws java.sql.SQLException
java.sql.SQLExceptionboolean isFirst()
throws java.sql.SQLException
java.sql.SQLExceptionboolean isLast()
throws java.sql.SQLException
java.sql.SQLExceptionvoid beforeFirst()
throws java.sql.SQLException
java.sql.SQLExceptionvoid afterLast()
throws java.sql.SQLException
java.sql.SQLExceptionboolean first()
throws java.sql.SQLException
java.sql.SQLExceptionboolean last()
throws java.sql.SQLException
java.sql.SQLExceptionint getRow()
throws java.sql.SQLException
java.sql.SQLExceptionboolean absolute(int row)
throws java.sql.SQLException
java.sql.SQLExceptionboolean relative(int rows)
throws java.sql.SQLException
java.sql.SQLExceptionboolean previous()
throws java.sql.SQLException
java.sql.SQLExceptionvoid setFetchDirection(int direction)
throws java.sql.SQLException
java.sql.SQLExceptionint getFetchDirection()
throws java.sql.SQLException
java.sql.SQLExceptionvoid setFetchSize(int rows)
throws java.sql.SQLException
java.sql.SQLExceptionint getFetchSize()
throws java.sql.SQLException
java.sql.SQLExceptionint getType()
throws java.sql.SQLException
java.sql.SQLExceptionint getConcurrency()
throws java.sql.SQLException
java.sql.SQLExceptionStatement getStatement() throws java.sql.SQLException
java.sql.SQLException