|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.db.jdbc.AbstractResultSet
com.caucho.db.jdbc.CursorResultSetImpl
public class CursorResultSetImpl
The JDBC statement implementation.
| Field Summary |
|---|
| Fields inherited from class com.caucho.db.jdbc.AbstractResultSet |
|---|
L |
| 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 | ||
|---|---|---|
void |
close()
|
|
int |
findColumn(java.lang.String columnName)
|
|
java.math.BigDecimal |
getBigDecimal(int columnIndex)
Returns the big-decimal value for the column. |
|
java.sql.Blob |
getBlob(int columnIndex)
Returns the blob value for the column. |
|
boolean |
getBoolean(int columnIndex)
Returns the boolean value for the column. |
|
byte[] |
getBytes(int columnIndex)
Returns the blob value for the column. |
|
java.sql.Clob |
getClob(int columnIndex)
Returns the clob value for the column. |
|
java.sql.Date |
getDate(int columnIndex)
Returns the date value for the column. |
|
double |
getDouble(int columnIndex)
Returns the double value for the column. |
|
int |
getHoldability()
|
|
int |
getInt(int columnIndex)
Returns the integer value for the column. |
|
long |
getLong(int columnIndex)
Returns the long value for the column. |
|
java.sql.ResultSetMetaData |
getMetaData()
|
|
java.io.Reader |
getNCharacterStream(int columnIndex)
|
|
java.io.Reader |
getNCharacterStream(java.lang.String columnLabel)
|
|
java.sql.NClob |
getNClob(int columnIndex)
|
|
java.sql.NClob |
getNClob(java.lang.String columnLabel)
|
|
java.lang.String |
getNString(int columnIndex)
|
|
java.lang.String |
getNString(java.lang.String columnLabel)
|
|
int |
getRow()
|
|
java.sql.RowId |
getRowId(int columnIndex)
|
|
java.sql.RowId |
getRowId(java.lang.String columnLabel)
|
|
java.sql.SQLXML |
getSQLXML(int columnIndex)
|
|
java.sql.SQLXML |
getSQLXML(java.lang.String columnLabel)
|
|
java.sql.Statement |
getStatement()
|
|
java.lang.String |
getString(int columnIndex)
Returns the string value for the column. |
|
java.sql.Time |
getTime(int columnIndex)
Returns the time value for the column. |
|
java.sql.Timestamp |
getTimestamp(int columnIndex)
|
|
boolean |
isBeforeFirst()
|
|
boolean |
isClosed()
|
|
boolean |
isFirst()
|
|
boolean |
isWrapperFor(java.lang.Class<?> iface)
|
|
boolean |
next()
Goes to the next row, returning true if it exists. |
|
java.lang.String |
toString()
|
|
|
unwrap(java.lang.Class<T> iface)
|
|
void |
updateAsciiStream(int columnIndex,
java.io.InputStream x)
|
|
void |
updateAsciiStream(int columnIndex,
java.io.InputStream x,
long length)
|
|
void |
updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream x)
|
|
void |
updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream x,
long length)
|
|
void |
updateBinaryStream(int columnIndex,
java.io.InputStream x)
|
|
void |
updateBinaryStream(int columnIndex,
java.io.InputStream x,
long length)
|
|
void |
updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream x)
|
|
void |
updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream x,
long length)
|
|
void |
updateBlob(int columnIndex,
java.io.InputStream inputStream)
|
|
void |
updateBlob(int columnIndex,
java.io.InputStream inputStream,
long length)
|
|
void |
updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream)
|
|
void |
updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream,
long length)
|
|
void |
updateBoolean(int columnIndex,
boolean value)
|
|
void |
updateCharacterStream(int columnIndex,
java.io.Reader x)
|
|
void |
updateCharacterStream(int columnIndex,
java.io.Reader x,
long length)
|
|
void |
updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
|
|
void |
updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
|
|
void |
updateClob(int columnIndex,
java.io.Reader reader)
|
|
void |
updateClob(int columnIndex,
java.io.Reader reader,
long length)
|
|
void |
updateClob(java.lang.String columnLabel,
java.io.Reader reader)
|
|
void |
updateClob(java.lang.String columnLabel,
java.io.Reader reader,
long length)
|
|
void |
updateDouble(int columnIndex,
double value)
|
|
void |
updateInt(int columnIndex,
int value)
|
|
void |
updateLong(int columnIndex,
long value)
|
|
void |
updateNCharacterStream(int columnIndex,
java.io.Reader x)
|
|
void |
updateNCharacterStream(int columnIndex,
java.io.Reader x,
long length)
|
|
void |
updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
|
|
void |
updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
|
|
void |
updateNClob(int columnIndex,
java.sql.NClob nClob)
|
|
void |
updateNClob(int columnIndex,
java.io.Reader reader)
|
|
void |
updateNClob(int columnIndex,
java.io.Reader reader,
long length)
|
|
void |
updateNClob(java.lang.String columnLabel,
java.sql.NClob nClob)
|
|
void |
updateNClob(java.lang.String columnLabel,
java.io.Reader reader)
|
|
void |
updateNClob(java.lang.String columnLabel,
java.io.Reader reader,
long length)
|
|
void |
updateNString(int columnIndex,
java.lang.String nString)
|
|
void |
updateNString(java.lang.String columnLabel,
java.lang.String nString)
|
|
void |
updateRow()
|
|
void |
updateRowId(int columnIndex,
java.sql.RowId x)
|
|
void |
updateRowId(java.lang.String columnLabel,
java.sql.RowId x)
|
|
void |
updateSQLXML(int columnIndex,
java.sql.SQLXML xmlObject)
|
|
void |
updateSQLXML(java.lang.String columnLabel,
java.sql.SQLXML xmlObject)
|
|
void |
updateString(int columnIndex,
java.lang.String stringValue)
|
|
boolean |
wasNull()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int getRow()
throws java.sql.SQLException
getRow in interface java.sql.ResultSetgetRow in class AbstractResultSetjava.sql.SQLException
public boolean isBeforeFirst()
throws java.sql.SQLException
isBeforeFirst in interface java.sql.ResultSetisBeforeFirst in class AbstractResultSetjava.sql.SQLException
public boolean isFirst()
throws java.sql.SQLException
isFirst in interface java.sql.ResultSetisFirst in class AbstractResultSetjava.sql.SQLException
public java.sql.Statement getStatement()
throws java.sql.SQLException
getStatement in interface java.sql.ResultSetgetStatement in class AbstractResultSetjava.sql.SQLException
public java.sql.ResultSetMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.ResultSetgetMetaData in class AbstractResultSetjava.sql.SQLException
public boolean wasNull()
throws java.sql.SQLException
wasNull in interface java.sql.ResultSetwasNull in class AbstractResultSetjava.sql.SQLException
public boolean next()
throws java.sql.SQLException
next in interface java.sql.ResultSetnext in class AbstractResultSetjava.sql.SQLException
public int findColumn(java.lang.String columnName)
throws java.sql.SQLException
findColumn in interface java.sql.ResultSetfindColumn in class AbstractResultSetjava.sql.SQLException
public boolean getBoolean(int columnIndex)
throws java.sql.SQLException
getBoolean in interface java.sql.ResultSetgetBoolean in class AbstractResultSetjava.sql.SQLException
public void updateBoolean(int columnIndex,
boolean value)
throws java.sql.SQLException
updateBoolean in interface java.sql.ResultSetupdateBoolean in class AbstractResultSetjava.sql.SQLException
public java.sql.Date getDate(int columnIndex)
throws java.sql.SQLException
getDate in interface java.sql.ResultSetgetDate in class AbstractResultSetjava.sql.SQLException
public double getDouble(int columnIndex)
throws java.sql.SQLException
getDouble in interface java.sql.ResultSetgetDouble in class AbstractResultSetjava.sql.SQLException
public void updateDouble(int columnIndex,
double value)
throws java.sql.SQLException
updateDouble in interface java.sql.ResultSetupdateDouble in class AbstractResultSetjava.sql.SQLException
public int getInt(int columnIndex)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetgetInt in class AbstractResultSetjava.sql.SQLException
public void updateInt(int columnIndex,
int value)
throws java.sql.SQLException
updateInt in interface java.sql.ResultSetupdateInt in class AbstractResultSetjava.sql.SQLException
public long getLong(int columnIndex)
throws java.sql.SQLException
getLong in interface java.sql.ResultSetgetLong in class AbstractResultSetjava.sql.SQLException
public void updateLong(int columnIndex,
long value)
throws java.sql.SQLException
updateLong in interface java.sql.ResultSetupdateLong in class AbstractResultSetjava.sql.SQLException
public java.lang.String getString(int columnIndex)
throws java.sql.SQLException
getString in interface java.sql.ResultSetgetString in class AbstractResultSetjava.sql.SQLException
public void updateString(int columnIndex,
java.lang.String stringValue)
throws java.sql.SQLException
updateString in interface java.sql.ResultSetupdateString in class AbstractResultSetjava.sql.SQLException
public byte[] getBytes(int columnIndex)
throws java.sql.SQLException
getBytes in interface java.sql.ResultSetgetBytes in class AbstractResultSetjava.sql.SQLException
public java.sql.Time getTime(int columnIndex)
throws java.sql.SQLException
getTime in interface java.sql.ResultSetgetTime in class AbstractResultSetjava.sql.SQLException
public java.sql.Timestamp getTimestamp(int columnIndex)
throws java.sql.SQLException
getTimestamp in interface java.sql.ResultSetgetTimestamp in class AbstractResultSetjava.sql.SQLException
public java.math.BigDecimal getBigDecimal(int columnIndex)
throws java.sql.SQLException
getBigDecimal in interface java.sql.ResultSetgetBigDecimal in class AbstractResultSetjava.sql.SQLException
public java.sql.Blob getBlob(int columnIndex)
throws java.sql.SQLException
getBlob in interface java.sql.ResultSetgetBlob in class AbstractResultSetjava.sql.SQLException
public java.sql.Clob getClob(int columnIndex)
throws java.sql.SQLException
getClob in interface java.sql.ResultSetgetClob in class AbstractResultSetjava.sql.SQLException
public void updateRow()
throws java.sql.SQLException
updateRow in interface java.sql.ResultSetupdateRow in class AbstractResultSetjava.sql.SQLException
public void close()
throws java.sql.SQLException
close in interface java.sql.ResultSetclose in class AbstractResultSetjava.sql.SQLException
public java.sql.RowId getRowId(int columnIndex)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.RowId getRowId(java.lang.String columnLabel)
throws java.sql.SQLException
java.sql.SQLException
public void updateRowId(int columnIndex,
java.sql.RowId x)
throws java.sql.SQLException
java.sql.SQLException
public void updateRowId(java.lang.String columnLabel,
java.sql.RowId x)
throws java.sql.SQLException
java.sql.SQLException
public int getHoldability()
throws java.sql.SQLException
java.sql.SQLException
public boolean isClosed()
throws java.sql.SQLException
java.sql.SQLException
public void updateNString(int columnIndex,
java.lang.String nString)
throws java.sql.SQLException
java.sql.SQLException
public void updateNString(java.lang.String columnLabel,
java.lang.String nString)
throws java.sql.SQLException
java.sql.SQLException
public void updateNClob(int columnIndex,
java.sql.NClob nClob)
throws java.sql.SQLException
java.sql.SQLException
public void updateNClob(java.lang.String columnLabel,
java.sql.NClob nClob)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.NClob getNClob(int columnIndex)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.NClob getNClob(java.lang.String columnLabel)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.SQLXML getSQLXML(int columnIndex)
throws java.sql.SQLException
java.sql.SQLException
public java.sql.SQLXML getSQLXML(java.lang.String columnLabel)
throws java.sql.SQLException
java.sql.SQLException
public void updateSQLXML(int columnIndex,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
java.sql.SQLException
public void updateSQLXML(java.lang.String columnLabel,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getNString(int columnIndex)
throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getNString(java.lang.String columnLabel)
throws java.sql.SQLException
java.sql.SQLException
public java.io.Reader getNCharacterStream(int columnIndex)
throws java.sql.SQLException
java.sql.SQLException
public java.io.Reader getNCharacterStream(java.lang.String columnLabel)
throws java.sql.SQLException
java.sql.SQLException
public void updateNCharacterStream(int columnIndex,
java.io.Reader x,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateAsciiStream(int columnIndex,
java.io.InputStream x,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateBinaryStream(int columnIndex,
java.io.InputStream x,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateCharacterStream(int columnIndex,
java.io.Reader x,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream x,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream x,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateBlob(int columnIndex,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateClob(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateNClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateNClob(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
java.sql.SQLException
public void updateNCharacterStream(int columnIndex,
java.io.Reader x)
throws java.sql.SQLException
java.sql.SQLException
public void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
java.sql.SQLException
public void updateAsciiStream(int columnIndex,
java.io.InputStream x)
throws java.sql.SQLException
java.sql.SQLException
public void updateBinaryStream(int columnIndex,
java.io.InputStream x)
throws java.sql.SQLException
java.sql.SQLException
public void updateCharacterStream(int columnIndex,
java.io.Reader x)
throws java.sql.SQLException
java.sql.SQLException
public void updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream x)
throws java.sql.SQLException
java.sql.SQLException
public void updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream x)
throws java.sql.SQLException
java.sql.SQLException
public void updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
java.sql.SQLException
public void updateBlob(int columnIndex,
java.io.InputStream inputStream)
throws java.sql.SQLException
java.sql.SQLException
public void updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream)
throws java.sql.SQLException
java.sql.SQLException
public void updateClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
java.sql.SQLException
public void updateClob(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
java.sql.SQLException
public void updateNClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
java.sql.SQLException
public void updateNClob(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
java.sql.SQLException
public <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
java.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String toString()
toString in class AbstractResultSet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||