absolute
public boolean absolute(int row)
throws SQLException
afterLast
public void afterLast()
throws SQLException
beforeFirst
public void beforeFirst()
throws SQLException
cacheResultSetRows
protected void cacheResultSetRows()
throws SQLException
Cache the remaining results to free up connection.
cancelRowUpdates
public void cancelRowUpdates()
throws SQLException
checkOpen
protected void checkOpen()
throws SQLException
Check that this connection is still open.
checkScrollable
protected void checkScrollable()
throws SQLException
Check that this resultset is scrollable.
checkUpdateable
protected void checkUpdateable()
throws SQLException
Check that this resultset is updateable.
clearWarnings
public void clearWarnings()
throws SQLException
close
public void close()
throws SQLException
copyInfo
protected ColInfo[] copyInfo(ColInfo[] info)
Copy an existing result set column descriptor array.
info
- The result set column descriptors to copy.
- The new descriptors as a
ColInfo[]
.
copyRow
protected Object[] copyRow(Object[] row)
Copy an existing result set row.
row
- the result set row to copy
- the new row as an
Object
array
deleteRow
public void deleteRow()
throws SQLException
findColumn
public int findColumn(String columnName)
throws SQLException
first
public boolean first()
throws SQLException
getArray
public Array getArray(String columnName)
throws SQLException
getArray
public Array getArray(int columnIndex)
throws SQLException
getAsciiStream
public InputStream getAsciiStream(String columnName)
throws SQLException
getAsciiStream
public InputStream getAsciiStream(int columnIndex)
throws SQLException
getBigDecimal
public BigDecimal getBigDecimal(String columnName)
throws SQLException
getBigDecimal
public BigDecimal getBigDecimal(String columnName,
int scale)
throws SQLException
getBigDecimal
public BigDecimal getBigDecimal(int columnIndex)
throws SQLException
getBigDecimal
public BigDecimal getBigDecimal(int columnIndex,
int scale)
throws SQLException
getBinaryStream
public InputStream getBinaryStream(String columnName)
throws SQLException
getBinaryStream
public InputStream getBinaryStream(int columnIndex)
throws SQLException
getBlob
public Blob getBlob(String columnName)
throws SQLException
getBlob
public Blob getBlob(int columnIndex)
throws SQLException
getBoolean
public boolean getBoolean(String columnName)
throws SQLException
getBoolean
public boolean getBoolean(int columnIndex)
throws SQLException
getByte
public byte getByte(String columnName)
throws SQLException
getByte
public byte getByte(int columnIndex)
throws SQLException
getBytes
public byte[] getBytes(String columnName)
throws SQLException
getBytes
public byte[] getBytes(int columnIndex)
throws SQLException
getCharacterStream
public Reader getCharacterStream(String columnName)
throws SQLException
getCharacterStream
public Reader getCharacterStream(int columnIndex)
throws SQLException
getClob
public Clob getClob(String columnName)
throws SQLException
getClob
public Clob getClob(int columnIndex)
throws SQLException
getColumn
protected Object getColumn(int index)
throws SQLException
Get the specified column's data item.
index
- the column index in the row
- the column value as an
Object
getColumnCount
protected static int getColumnCount(ColInfo[] columns)
Retrieve the column count excluding hidden columns
columns
- The columns array
- The new column count as an
int
.
getColumns
protected ColInfo[] getColumns()
Retrieve the column descriptor array.
- The column descriptors as a
ColInfo[]
.
getConcurrency
public int getConcurrency()
throws SQLException
getCurrentRow
protected Object[] getCurrentRow()
Retrieve the current row data.
- The current row data as an
Object[]
.
getCursorName
public String getCursorName()
throws SQLException
getDate
public Date getDate(String columnName)
throws SQLException
getDate
public Date getDate(String columnName,
Calendar cal)
throws SQLException
getDate
public Date getDate(int columnIndex)
throws SQLException
getDate
public Date getDate(int columnIndex,
Calendar cal)
throws SQLException
getDouble
public double getDouble(String columnName)
throws SQLException
getDouble
public double getDouble(int columnIndex)
throws SQLException
getFetchDirection
public int getFetchDirection()
throws SQLException
getFetchSize
public int getFetchSize()
throws SQLException
getFloat
public float getFloat(String columnName)
throws SQLException
getFloat
public float getFloat(int columnIndex)
throws SQLException
getInt
public int getInt(String columnName)
throws SQLException
getInt
public int getInt(int columnIndex)
throws SQLException
getLong
public long getLong(String columnName)
throws SQLException
getLong
public long getLong(int columnIndex)
throws SQLException
getMetaData
public ResultSetMetaData getMetaData()
throws SQLException
getObject
public Object getObject(String columnName)
throws SQLException
getObject
public Object getObject(String columnName,
Map map)
throws SQLException
getObject
public Object getObject(int columnIndex)
throws SQLException
getObject
public Object getObject(int columnIndex,
Map map)
throws SQLException
getRef
public Ref getRef(String columnName)
throws SQLException
getRef
public Ref getRef(int columnIndex)
throws SQLException
getRow
public int getRow()
throws SQLException
getShort
public short getShort(String columnName)
throws SQLException
getShort
public short getShort(int columnIndex)
throws SQLException
getStatement
public Statement getStatement()
throws SQLException
getString
public String getString(String columnName)
throws SQLException
getString
public String getString(int columnIndex)
throws SQLException
getTime
public Time getTime(String columnName)
throws SQLException
getTime
public Time getTime(String columnName,
Calendar cal)
throws SQLException
getTime
public Time getTime(int columnIndex)
throws SQLException
getTime
public Time getTime(int columnIndex,
Calendar cal)
throws SQLException
getTimestamp
public Timestamp getTimestamp(String columnName)
throws SQLException
getTimestamp
public Timestamp getTimestamp(String columnName,
Calendar cal)
throws SQLException
getTimestamp
public Timestamp getTimestamp(int columnIndex)
throws SQLException
getTimestamp
public Timestamp getTimestamp(int columnIndex,
Calendar cal)
throws SQLException
getType
public int getType()
throws SQLException
getURL
public URL getURL(String columnName)
throws SQLException
getURL
public URL getURL(int columnIndex)
throws SQLException
getUnicodeStream
public InputStream getUnicodeStream(String columnName)
throws SQLException
getUnicodeStream
public InputStream getUnicodeStream(int columnIndex)
throws SQLException
getWarnings
public SQLWarning getWarnings()
throws SQLException
insertRow
public void insertRow()
throws SQLException
isAfterLast
public boolean isAfterLast()
throws SQLException
isBeforeFirst
public boolean isBeforeFirst()
throws SQLException
isFirst
public boolean isFirst()
throws SQLException
isLast
public boolean isLast()
throws SQLException
last
public boolean last()
throws SQLException
moveToCurrentRow
public void moveToCurrentRow()
throws SQLException
moveToInsertRow
public void moveToInsertRow()
throws SQLException
newRow
protected Object[] newRow()
Create a new row containing empty data items.
- the new row as an
Object
array
next
public boolean next()
throws SQLException
notImplemented
protected static void notImplemented(String method)
throws SQLException
Report that user tried to call a method which has not been implemented.
method
- The method name to report in the error message.
previous
public boolean previous()
throws SQLException
refreshRow
public void refreshRow()
throws SQLException
relative
public boolean relative(int row)
throws SQLException
rowDeleted
public boolean rowDeleted()
throws SQLException
rowInserted
public boolean rowInserted()
throws SQLException
rowUpdated
public boolean rowUpdated()
throws SQLException
setColLabel
protected void setColLabel(int colIndex,
String name)
Set the specified column's label.
colIndex
- The index of the column in the row.name
- The new label.
setColName
protected void setColName(int colIndex,
String name)
Set the specified column's name.
colIndex
- The index of the column in the row.name
- The new name.
setColType
protected void setColType(int colIndex,
int jdbcType)
Set the specified column's JDBC type.
colIndex
- The index of the column in the row.jdbcType
- The new type value.
setColValue
protected Object setColValue(int colIndex,
int jdbcType,
Object value,
int length)
throws SQLException
Set the specified column's data value.
colIndex
- index of the columnvalue
- new column valuelength
- the length of a stream parameter
- the value, possibly converted to an internal type
setColumnCount
protected void setColumnCount(int columnCount)
Set the current row's column count.
columnCount
- The number of visible columns in the row.
setFetchDirection
public void setFetchDirection(int direction)
throws SQLException
setFetchSize
public void setFetchSize(int rows)
throws SQLException
updateArray
public void updateArray(String columnName,
Array x)
throws SQLException
updateArray
public void updateArray(int columnIndex,
Array x)
throws SQLException
updateAsciiStream
public void updateAsciiStream(String columnName,
InputStream x,
int length)
throws SQLException
updateAsciiStream
public void updateAsciiStream(int columnIndex,
InputStream inputStream,
int length)
throws SQLException
updateBigDecimal
public void updateBigDecimal(String columnName,
BigDecimal x)
throws SQLException
updateBigDecimal
public void updateBigDecimal(int columnIndex,
BigDecimal x)
throws SQLException
updateBinaryStream
public void updateBinaryStream(String columnName,
InputStream x,
int length)
throws SQLException
updateBinaryStream
public void updateBinaryStream(int columnIndex,
InputStream inputStream,
int length)
throws SQLException
updateBlob
public void updateBlob(String columnName,
Blob x)
throws SQLException
updateBlob
public void updateBlob(int columnIndex,
Blob x)
throws SQLException
updateBoolean
public void updateBoolean(String columnName,
boolean x)
throws SQLException
updateBoolean
public void updateBoolean(int columnIndex,
boolean x)
throws SQLException
updateByte
public void updateByte(String columnName,
byte x)
throws SQLException
updateByte
public void updateByte(int columnIndex,
byte x)
throws SQLException
updateBytes
public void updateBytes(String columnName,
byte[] x)
throws SQLException
updateBytes
public void updateBytes(int columnIndex,
byte[] x)
throws SQLException
updateCharacterStream
public void updateCharacterStream(String columnName,
Reader x,
int length)
throws SQLException
updateCharacterStream
public void updateCharacterStream(int columnIndex,
Reader reader,
int length)
throws SQLException
updateClob
public void updateClob(String columnName,
Clob x)
throws SQLException
updateClob
public void updateClob(int columnIndex,
Clob x)
throws SQLException
updateDate
public void updateDate(String columnName,
Date x)
throws SQLException
updateDate
public void updateDate(int columnIndex,
Date x)
throws SQLException
updateDouble
public void updateDouble(String columnName,
double x)
throws SQLException
updateDouble
public void updateDouble(int columnIndex,
double x)
throws SQLException
updateFloat
public void updateFloat(String columnName,
float x)
throws SQLException
updateFloat
public void updateFloat(int columnIndex,
float x)
throws SQLException
updateInt
public void updateInt(String columnName,
int x)
throws SQLException
updateInt
public void updateInt(int columnIndex,
int x)
throws SQLException
updateLong
public void updateLong(String columnName,
long x)
throws SQLException
updateLong
public void updateLong(int columnIndex,
long x)
throws SQLException
updateNull
public void updateNull(String columnName)
throws SQLException
updateNull
public void updateNull(int columnIndex)
throws SQLException
updateObject
public void updateObject(String columnName,
Object x)
throws SQLException
updateObject
public void updateObject(String columnName,
Object x,
int scale)
throws SQLException
updateObject
public void updateObject(int columnIndex,
Object x)
throws SQLException
updateObject
public void updateObject(int columnIndex,
Object x,
int scale)
throws SQLException
updateRef
public void updateRef(String columnName,
Ref x)
throws SQLException
updateRef
public void updateRef(int columnIndex,
Ref x)
throws SQLException
updateRow
public void updateRow()
throws SQLException
updateShort
public void updateShort(String columnName,
short x)
throws SQLException
updateShort
public void updateShort(int columnIndex,
short x)
throws SQLException
updateString
public void updateString(String columnName,
String x)
throws SQLException
updateString
public void updateString(int columnIndex,
String x)
throws SQLException
updateTime
public void updateTime(String columnName,
Time x)
throws SQLException
updateTime
public void updateTime(int columnIndex,
Time x)
throws SQLException
updateTimestamp
public void updateTimestamp(String columnName,
Timestamp x)
throws SQLException
updateTimestamp
public void updateTimestamp(int columnIndex,
Timestamp x)
throws SQLException
wasNull
public boolean wasNull()
throws SQLException