|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.uwyn.rife.database.DbResultSet
public abstract class DbResultSet
| Field Summary | |
|---|---|
protected boolean |
mFirstRowSkew
|
protected boolean |
mHasResultRows
|
protected ResultSet |
mResultSet
|
protected DbStatement |
mStatement
|
| Fields inherited from interface java.sql.ResultSet |
|---|
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE |
| Method Summary | |
|---|---|
boolean |
absolute(int row)
|
void |
afterLast()
|
void |
beforeFirst()
|
void |
cancelRowUpdates()
|
void |
clearWarnings()
|
Object |
clone()
Simply clones the instance with the default clone method. |
void |
close()
|
void |
deleteRow()
|
int |
findColumn(String columnName)
|
boolean |
first()
|
Array |
getArray(int i)
|
Array |
getArray(String colName)
|
InputStream |
getAsciiStream(int columnIndex)
|
InputStream |
getAsciiStream(String columnName)
|
BigDecimal |
getBigDecimal(int columnIndex)
|
BigDecimal |
getBigDecimal(int columnIndex,
int scale)
|
BigDecimal |
getBigDecimal(String columnName)
|
BigDecimal |
getBigDecimal(String columnName,
int scale)
|
InputStream |
getBinaryStream(int columnIndex)
|
InputStream |
getBinaryStream(String columnName)
|
Blob |
getBlob(int i)
|
Blob |
getBlob(String colName)
|
boolean |
getBoolean(int columnIndex)
|
boolean |
getBoolean(String columnName)
|
byte |
getByte(int columnIndex)
|
byte |
getByte(String columnName)
|
byte[] |
getBytes(int columnIndex)
|
byte[] |
getBytes(String columnName)
|
Reader |
getCharacterStream(int columnIndex)
|
Reader |
getCharacterStream(String columnName)
|
Clob |
getClob(int i)
|
Clob |
getClob(String colName)
|
int |
getConcurrency()
|
String |
getCursorName()
|
Date |
getDate(int columnIndex)
|
Date |
getDate(int columnIndex,
Calendar cal)
|
Date |
getDate(String columnName)
|
Date |
getDate(String columnName,
Calendar cal)
|
double |
getDouble(int columnIndex)
|
double |
getDouble(String columnName)
|
int |
getFetchDirection()
|
int |
getFetchSize()
|
InputStream |
getFirstAsciiStream()
Retrieves the first field of the first row of this DbResultSet object as an ascii stream. |
BigDecimal |
getFirstBigDecimal()
Retrieves the first field of the first row of this DbResultSet object as a big decimal. |
InputStream |
getFirstBinaryStream()
Retrieves the first field of the first row of this DbResultSet object as a binary stream. |
boolean |
getFirstBoolean()
Retrieves the first field of the first row of this DbResultSet object as a boolean. |
byte |
getFirstByte()
Retrieves the first field of the first row of this DbResultSet object as a byte. |
byte[] |
getFirstBytes()
Retrieves the first field of the first row of this DbResultSet object as an array of bytes. |
Reader |
getFirstCharacterStream()
Retrieves the first field of the first row of this DbResultSet object as a character stream. |
Date |
getFirstDate()
Retrieves the first field of the first row of this DbResultSet object as a sql date. |
Date |
getFirstDate(Calendar cal)
Retrieves the first field of the first row of this DbResultSet object as a sql date. |
double |
getFirstDouble()
Retrieves the first field of the first row of this DbResultSet object as a double. |
float |
getFirstFloat()
Retrieves the first field of the first row of this DbResultSet object as a float. |
int |
getFirstInt()
Retrieves the first field of the first row of this DbResultSet object as an integer. |
long |
getFirstLong()
Retrieves the first field of the first row of this DbResultSet object as a long. |
short |
getFirstShort()
Retrieves the first field of the first row of this DbResultSet object as a short. |
String |
getFirstString()
Retrieves the first field of the first row of this DbResultSet object as a string. |
Time |
getFirstTime()
Retrieves the first field of the first row of this DbResultSet object as a sql time. |
Time |
getFirstTime(Calendar cal)
Retrieves the first field of the first row of this DbResultSet object as a sql time. |
Timestamp |
getFirstTimestamp()
Retrieves the first field of the first row of this DbResultSet object as a sql timestamo. |
Timestamp |
getFirstTimestamp(Calendar cal)
Retrieves the first field of the first row of this DbResultSet object as a sql timestamp. |
float |
getFloat(int columnIndex)
|
float |
getFloat(String columnName)
|
int |
getInt(int columnIndex)
|
int |
getInt(String columnName)
|
long |
getLong(int columnIndex)
|
long |
getLong(String columnName)
|
ResultSetMetaData |
getMetaData()
|
Object |
getObject(int columnIndex)
|
Object |
getObject(int i,
Map map)
|
Object |
getObject(String columnName)
|
Object |
getObject(String colName,
Map map)
|
Ref |
getRef(int i)
|
Ref |
getRef(String colName)
|
int |
getRow()
|
short |
getShort(int columnIndex)
|
short |
getShort(String columnName)
|
Statement |
getStatement()
|
String |
getString(int columnIndex)
|
String |
getString(String columnName)
|
Time |
getTime(int columnIndex)
|
Time |
getTime(int columnIndex,
Calendar cal)
|
Time |
getTime(String columnName)
|
Time |
getTime(String columnName,
Calendar cal)
|
Timestamp |
getTimestamp(int columnIndex)
|
Timestamp |
getTimestamp(int columnIndex,
Calendar cal)
|
Timestamp |
getTimestamp(String columnName)
|
Timestamp |
getTimestamp(String columnName,
Calendar cal)
|
int |
getType()
|
InputStream |
getUnicodeStream(int columnIndex)
|
InputStream |
getUnicodeStream(String columnName)
|
URL |
getURL(int columnIndex)
|
URL |
getURL(String columnName)
|
SQLWarning |
getWarnings()
|
boolean |
hasResultRows()
Determines if there are rows available in the ResultSet
object that was returned by an execute method. |
void |
insertRow()
|
boolean |
isAfterLast()
|
boolean |
isBeforeFirst()
|
boolean |
isFirst()
|
boolean |
isLast()
|
boolean |
last()
|
void |
moveToCurrentRow()
|
void |
moveToInsertRow()
|
boolean |
next()
|
boolean |
previous()
|
void |
refreshRow()
|
boolean |
relative(int rows)
|
boolean |
rowDeleted()
|
boolean |
rowInserted()
|
boolean |
rowUpdated()
|
void |
setFetchDirection(int direction)
|
void |
setFetchSize(int rows)
|
void |
updateArray(int columnIndex,
Array x)
|
void |
updateArray(String columnName,
Array x)
|
void |
updateAsciiStream(int columnIndex,
InputStream x,
int length)
|
void |
updateAsciiStream(String columnName,
InputStream x,
int length)
|
void |
updateBigDecimal(int columnIndex,
BigDecimal x)
|
void |
updateBigDecimal(String columnName,
BigDecimal x)
|
void |
updateBinaryStream(int columnIndex,
InputStream x,
int length)
|
void |
updateBinaryStream(String columnName,
InputStream x,
int length)
|
void |
updateBlob(int columnIndex,
Blob x)
|
void |
updateBlob(String columnName,
Blob x)
|
void |
updateBoolean(int columnIndex,
boolean x)
|
void |
updateBoolean(String columnName,
boolean x)
|
void |
updateByte(int columnIndex,
byte x)
|
void |
updateByte(String columnName,
byte x)
|
void |
updateBytes(int columnIndex,
byte[] x)
|
void |
updateBytes(String columnName,
byte[] x)
|
void |
updateCharacterStream(int columnIndex,
Reader x,
int length)
|
void |
updateCharacterStream(String columnName,
Reader reader,
int length)
|
void |
updateClob(int columnIndex,
Clob x)
|
void |
updateClob(String columnName,
Clob x)
|
void |
updateDate(int columnIndex,
Date x)
|
void |
updateDate(String columnName,
Date x)
|
void |
updateDouble(int columnIndex,
double x)
|
void |
updateDouble(String columnName,
double x)
|
void |
updateFloat(int columnIndex,
float x)
|
void |
updateFloat(String columnName,
float x)
|
void |
updateInt(int columnIndex,
int x)
|
void |
updateInt(String columnName,
int x)
|
void |
updateLong(int columnIndex,
long x)
|
void |
updateLong(String columnName,
long x)
|
void |
updateNull(int columnIndex)
|
void |
updateNull(String columnName)
|
void |
updateObject(int columnIndex,
Object x)
|
void |
updateObject(int columnIndex,
Object x,
int scale)
|
void |
updateObject(String columnName,
Object x)
|
void |
updateObject(String columnName,
Object x,
int scale)
|
void |
updateRef(int columnIndex,
Ref x)
|
void |
updateRef(String columnName,
Ref x)
|
void |
updateRow()
|
void |
updateShort(int columnIndex,
short x)
|
void |
updateShort(String columnName,
short x)
|
void |
updateString(int columnIndex,
String x)
|
void |
updateString(String columnName,
String x)
|
void |
updateTime(int columnIndex,
Time x)
|
void |
updateTime(String columnName,
Time x)
|
void |
updateTimestamp(int columnIndex,
Timestamp x)
|
void |
updateTimestamp(String columnName,
Timestamp x)
|
boolean |
wasNull()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Field Detail |
|---|
protected DbStatement mStatement
protected ResultSet mResultSet
protected boolean mFirstRowSkew
protected boolean mHasResultRows
| Method Detail |
|---|
public final boolean next()
throws SQLException
next in interface ResultSetSQLException
public final boolean previous()
throws SQLException
previous in interface ResultSetSQLException
public final boolean absolute(int row)
throws SQLException
absolute in interface ResultSetSQLException
public final boolean relative(int rows)
throws SQLException
relative in interface ResultSetSQLException
public final void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetSQLException
public final boolean first()
throws SQLException
first in interface ResultSetSQLException
public final boolean last()
throws SQLException
last in interface ResultSetSQLException
public final void afterLast()
throws SQLException
afterLast in interface ResultSetSQLException
public final void moveToInsertRow()
throws SQLException
moveToInsertRow in interface ResultSetSQLException
public final void moveToCurrentRow()
throws SQLException
moveToCurrentRow in interface ResultSetSQLException
public final boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetSQLException
public final boolean isFirst()
throws SQLException
isFirst in interface ResultSetSQLException
public final boolean isLast()
throws SQLException
isLast in interface ResultSetSQLException
public final boolean isAfterLast()
throws SQLException
isAfterLast in interface ResultSetSQLException
public final int getRow()
throws SQLException
getRow in interface ResultSetSQLException
public final void refreshRow()
throws SQLException
refreshRow in interface ResultSetSQLException
public final void insertRow()
throws SQLException
insertRow in interface ResultSetSQLException
public final void updateRow()
throws SQLException
updateRow in interface ResultSetSQLException
public final void deleteRow()
throws SQLException
deleteRow in interface ResultSetSQLException
public final boolean rowInserted()
throws SQLException
rowInserted in interface ResultSetSQLException
public final boolean rowUpdated()
throws SQLException
rowUpdated in interface ResultSetSQLException
public final boolean rowDeleted()
throws SQLException
rowDeleted in interface ResultSetSQLException
public final void close()
throws SQLException
close in interface ResultSetSQLException
public final boolean wasNull()
throws SQLException
wasNull in interface ResultSetSQLException
public final void setFetchDirection(int direction)
throws SQLException
setFetchDirection in interface ResultSetSQLException
public final void setFetchSize(int rows)
throws SQLException
setFetchSize in interface ResultSetSQLException
public final void cancelRowUpdates()
throws SQLException
cancelRowUpdates in interface ResultSetSQLException
public final ResultSetMetaData getMetaData()
throws SQLException
getMetaData in interface