| java.lang.Object com.caucho.db.jdbc.AbstractResultSet com.caucho.db.jdbc.GeneratedKeysResultSet
GeneratedKeysResultSet | public class GeneratedKeysResultSet extends AbstractResultSet (Code) | | The JDBC statement implementation.
|
Method Summary | |
public void | close() | public int | findColumn(String columnName) Returns the index for the given column name. | public int | getHoldability() | public int | getInt(int columnIndex) Returns the generated integer key. | public long | getLong(int columnIndex) Returns the generated long key. | public java.sql.ResultSetMetaData | getMetaData() | public Reader | getNCharacterStream(int columnIndex) | public Reader | getNCharacterStream(String columnLabel) | public NClob | getNClob(int columnIndex) | public NClob | getNClob(String columnLabel) | public String | getNString(int columnIndex) | public String | getNString(String columnLabel) | public RowId | getRowId(int columnIndex) | public RowId | getRowId(String columnLabel) | public SQLXML | getSQLXML(int columnIndex) | public SQLXML | getSQLXML(String columnLabel) | public java.sql.Statement | getStatement() Returns the statement associated with the keys. | public String | getString(int columnIndex) Returns the generated string key. | public void | init(Statement stmt) Initialize the keys result set at the beginning of the query. | public void | init() Initialize the keys result set at the beginning of the query. | public boolean | isClosed() | public boolean | isWrapperFor(Class> iface) | public boolean | next() | public void | setColumn(int index, Column column) Sets the specified column. | public void | setInt(int columnIndex, int value) Sets the generated int key. | public void | setLong(int columnIndex, long value) Sets the generated long key. | public void | setString(int columnIndex, String value) Sets the generated string key. | public T | unwrap(Class<T> iface) | public void | updateAsciiStream(int columnIndex, InputStream x, long length) | public void | updateAsciiStream(String columnLabel, InputStream x, long length) | public void | updateAsciiStream(int columnIndex, InputStream x) | public void | updateAsciiStream(String columnLabel, InputStream x) | public void | updateBinaryStream(int columnIndex, InputStream x, long length) | public void | updateBinaryStream(String columnLabel, InputStream x, long length) | public void | updateBinaryStream(int columnIndex, InputStream x) | public void | updateBinaryStream(String columnLabel, InputStream x) | public void | updateBlob(int columnIndex, InputStream inputStream, long length) | public void | updateBlob(String columnLabel, InputStream inputStream, long length) | public void | updateBlob(int columnIndex, InputStream inputStream) | public void | updateBlob(String columnLabel, InputStream inputStream) | public void | updateCharacterStream(int columnIndex, Reader x, long length) | public void | updateCharacterStream(String columnLabel, Reader reader, long length) | public void | updateCharacterStream(int columnIndex, Reader x) | public void | updateCharacterStream(String columnLabel, Reader reader) | public void | updateClob(int columnIndex, Reader reader, long length) | public void | updateClob(String columnLabel, Reader reader, long length) | public void | updateClob(int columnIndex, Reader reader) | public void | updateClob(String columnLabel, Reader reader) | public void | updateNCharacterStream(int columnIndex, Reader x, long length) | public void | updateNCharacterStream(String columnLabel, Reader reader, long length) | public void | updateNCharacterStream(int columnIndex, Reader x) | public void | updateNCharacterStream(String columnLabel, Reader reader) | public void | updateNClob(int columnIndex, NClob nClob) | public void | updateNClob(String columnLabel, NClob nClob) | public void | updateNClob(int columnIndex, Reader reader, long length) | public void | updateNClob(String columnLabel, Reader reader, long length) | public void | updateNClob(int columnIndex, Reader reader) | public void | updateNClob(String columnLabel, Reader reader) | public void | updateNString(int columnIndex, String nString) | public void | updateNString(String columnLabel, String nString) | public void | updateRowId(int columnIndex, RowId x) | public void | updateRowId(String columnLabel, RowId x) | public void | updateSQLXML(int columnIndex, SQLXML xmlObject) | public void | updateSQLXML(String columnLabel, SQLXML xmlObject) | public boolean | wasNull() |
close | public void close()(Code) | | |
findColumn | public int findColumn(String columnName) throws SQLException(Code) | | Returns the index for the given column name.
|
getInt | public int getInt(int columnIndex) throws SQLException(Code) | | Returns the generated integer key.
|
getLong | public long getLong(int columnIndex) throws SQLException(Code) | | Returns the generated long key.
|
init | public void init(Statement stmt)(Code) | | Initialize the keys result set at the beginning of the query.
|
init | public void init()(Code) | | Initialize the keys result set at the beginning of the query.
|
setColumn | public void setColumn(int index, Column column)(Code) | | Sets the specified column.
|
setInt | public void setInt(int columnIndex, int value) throws SQLException(Code) | | Sets the generated int key.
|
setLong | public void setLong(int columnIndex, long value) throws SQLException(Code) | | Sets the generated long key.
|
updateCharacterStream | public void updateCharacterStream(int columnIndex, Reader x, long length) throws SQLException(Code) | | |
updateNCharacterStream | public void updateNCharacterStream(int columnIndex, Reader x, long length) throws SQLException(Code) | | |
Fields inherited from com.caucho.db.jdbc.AbstractResultSet | final protected static L10N L(Code)(Java Doc)
|
Methods inherited from com.caucho.db.jdbc.AbstractResultSet | public boolean absolute(int row) throws SQLException(Code)(Java Doc) public void afterLast()(Code)(Java Doc) public void beforeFirst()(Code)(Java Doc) public void cancelRowUpdates()(Code)(Java Doc) public void clearWarnings()(Code)(Java Doc) public void close() throws SQLException(Code)(Java Doc) public void deleteRow()(Code)(Java Doc) abstract public int findColumn(String columnName) throws SQLException(Code)(Java Doc) public boolean first() throws SQLException(Code)(Java Doc) public Array getArray(int columnIndex) throws SQLException(Code)(Java Doc) public Array getArray(String columnName) throws SQLException(Code)(Java Doc) public InputStream getAsciiStream(int columnIndex) throws SQLException(Code)(Java Doc) public InputStream getAsciiStream(String columnName) throws SQLException(Code)(Java Doc) public BigDecimal getBigDecimal(int columnIndex) throws SQLException(Code)(Java Doc) public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException(Code)(Java Doc) public BigDecimal getBigDecimal(String columnName) throws SQLException(Code)(Java Doc) public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException(Code)(Java Doc) public InputStream getBinaryStream(int columnIndex) throws SQLException(Code)(Java Doc) public InputStream getBinaryStream(String columnName) throws SQLException(Code)(Java Doc) public Blob getBlob(int columnIndex) throws SQLException(Code)(Java Doc) public Blob getBlob(String columnName) throws SQLException(Code)(Java Doc) public boolean getBoolean(int columnIndex) throws SQLException(Code)(Java Doc) public boolean getBoolean(String columnName) throws SQLException(Code)(Java Doc) public byte getByte(int columnIndex) throws SQLException(Code)(Java Doc) public byte getByte(String columnName) throws SQLException(Code)(Java Doc) public byte[] getBytes(int columnIndex) throws SQLException(Code)(Java Doc) public byte[] getBytes(String columnName) throws SQLException(Code)(Java Doc) public Reader getCharacterStream(int columnIndex) throws SQLException(Code)(Java Doc) public Reader getCharacterStream(String columnName) throws SQLException(Code)(Java Doc) public Clob getClob(int columnIndex) throws SQLException(Code)(Java Doc) public Clob getClob(String columnName) throws SQLException(Code)(Java Doc) public int getConcurrency()(Code)(Java Doc) public String getCursorName()(Code)(Java Doc) public java.sql.Date getDate(int columnIndex) throws SQLException(Code)(Java Doc) public java.sql.Date getDate(String columnName) throws SQLException(Code)(Java Doc) public java.sql.Date getDate(int columnIndex, Calendar cal) throws SQLException(Code)(Java Doc) public java.sql.Date getDate(String columnName, Calendar cal) throws SQLException(Code)(Java Doc) public double getDouble(int columnIndex) throws SQLException(Code)(Java Doc) public double getDouble(String columnName) throws SQLException(Code)(Java Doc) public int getFetchDirection()(Code)(Java Doc) public int getFetchSize()(Code)(Java Doc) public float getFloat(int columnIndex) throws SQLException(Code)(Java Doc) public float getFloat(String columnName) throws SQLException(Code)(Java Doc) public int getInt(int columnIndex) throws SQLException(Code)(Java Doc) public int getInt(String columnName) throws SQLException(Code)(Java Doc) public long getLong(int columnIndex) throws SQLException(Code)(Java Doc) public long getLong(String columnName) throws SQLException(Code)(Java Doc) abstract public java.sql.ResultSetMetaData getMetaData() throws SQLException(Code)(Java Doc) public Object getObject(int columnIndex) throws SQLException(Code)(Java Doc) public Object getObject(String columnName) throws SQLException(Code)(Java Doc) public Object getObject(int columnIndex, Map<String, Class<?>> map) throws SQLException(Code)(Java Doc) public Object getObject(String columnName, Map<String, Class<?>> map) throws SQLException(Code)(Java Doc) public Ref getRef(int columnIndex) throws SQLException(Code)(Java Doc) public Ref getRef(String columnName) throws SQLException(Code)(Java Doc) public int getRow() throws SQLException(Code)(Java Doc) public short getShort(int columnIndex) throws SQLException(Code)(Java Doc) public short getShort(String columnName) throws SQLException(Code)(Java Doc) abstract public java.sql.Statement getStatement() throws SQLException(Code)(Java Doc) abstract public String getString(int columnIndex) throws SQLException(Code)(Java Doc) public String getString(String columnName) throws SQLException(Code)(Java Doc) public Time getTime(int columnIndex) throws SQLException(Code)(Java Doc) public Time getTime(String columnName) throws SQLException(Code)(Java Doc) public Time getTime(int columnIndex, Calendar calendar) throws SQLException(Code)(Java Doc) public Time getTime(String columnName, Calendar calendar) throws SQLException(Code)(Java Doc) public Timestamp getTimestamp(int columnIndex) throws SQLException(Code)(Java Doc) public Timestamp getTimestamp(String columnName) throws SQLException(Code)(Java Doc) public Timestamp getTimestamp(int columnIndex, Calendar calendar) throws SQLException(Code)(Java Doc) public Timestamp getTimestamp(String columnName, Calendar calendar) throws SQLException(Code)(Java Doc) public int getType()(Code)(Java Doc) public java.net.URL getURL(int column) throws SQLException(Code)(Java Doc) public java.net.URL getURL(String column) throws SQLException(Code)(Java Doc) public InputStream getUnicodeStream(int columnIndex) throws SQLException(Code)(Java Doc) public InputStream getUnicodeStream(String columnName) throws SQLException(Code)(Java Doc) public SQLWarning getWarnings()(Code)(Java Doc) public void insertRow()(Code)(Java Doc) public boolean isAfterLast()(Code)(Java Doc) public boolean isBeforeFirst() throws SQLException(Code)(Java Doc) public boolean isFirst() throws SQLException(Code)(Java Doc) public boolean isLast() throws SQLException(Code)(Java Doc) public boolean last() throws SQLException(Code)(Java Doc) public void moveToCurrentRow()(Code)(Java Doc) public void moveToInsertRow()(Code)(Java Doc) abstract public boolean next() throws SQLException(Code)(Java Doc) public boolean previous()(Code)(Java Doc) public void refreshRow()(Code)(Java Doc) public boolean relative(int rows)(Code)(Java Doc) public boolean rowDeleted()(Code)(Java Doc) public boolean rowInserted()(Code)(Java Doc) public boolean rowUpdated()(Code)(Java Doc) public void setFetchDirection(int direction)(Code)(Java Doc) public void setFetchSize(int rows)(Code)(Java Doc) public void updateArray(int columnIndex, Array value) throws SQLException(Code)(Java Doc) public void updateArray(String columnName, Array value) throws SQLException(Code)(Java Doc) public void updateAsciiStream(int columnIndex, InputStream x, int length)(Code)(Java Doc) public void updateAsciiStream(String columnName, InputStream x, int length) throws SQLException(Code)(Java Doc) public void updateBigDecimal(int columnIndex, BigDecimal x)(Code)(Java Doc) public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException(Code)(Java Doc) public void updateBinaryStream(int columnIndex, InputStream x, int length)(Code)(Java Doc) public void updateBinaryStream(String columnName, InputStream x, int length) throws SQLException(Code)(Java Doc) public void updateBlob(int columnIndex, Blob value) throws SQLException(Code)(Java Doc) public void updateBlob(String columnName, Blob value) throws SQLException(Code)(Java Doc) public void updateBoolean(int columnIndex, boolean x)(Code)(Java Doc) public void updateBoolean(String columnName, boolean x) throws SQLException(Code)(Java Doc) public void updateByte(int columnIndex, byte x)(Code)(Java Doc) public void updateByte(String columnName, byte x) throws SQLException(Code)(Java Doc) public void updateBytes(int columnIndex, byte[] x)(Code)(Java Doc) public void updateBytes(String columnName, byte[] x) throws SQLException(Code)(Java Doc) public void updateCharacterStream(int columnIndex, Reader x, int length)(Code)(Java Doc) public void updateCharacterStream(String columnName, Reader x, int length) throws SQLException(Code)(Java Doc) public void updateClob(int columnIndex, Clob value) throws SQLException(Code)(Java Doc) public void updateClob(String columnName, Clob value) throws SQLException(Code)(Java Doc) public void updateDate(int columnIndex, java.sql.Date date) throws SQLException(Code)(Java Doc) public void updateDate(String columnName, java.sql.Date date) throws SQLException(Code)(Java Doc) public void updateDouble(int columnIndex, double x)(Code)(Java Doc) public void updateDouble(String columnName, double x) throws SQLException(Code)(Java Doc) public void updateFloat(int columnIndex, float x)(Code)(Java Doc) public void updateFloat(String columnName, float x) throws SQLException(Code)(Java Doc) public void updateInt(int columnIndex, int x)(Code)(Java Doc) public void updateInt(String columnName, int x) throws SQLException(Code)(Java Doc) public void updateLong(int columnIndex, long x)(Code)(Java Doc) public void updateLong(String columnName, long x) throws SQLException(Code)(Java Doc) public void updateNull(int columnIndex)(Code)(Java Doc) public void updateNull(String columnName) throws SQLException(Code)(Java Doc) public void updateObject(int columnIndex, Object o)(Code)(Java Doc) public void updateObject(String columnName, Object o) throws SQLException(Code)(Java Doc) public void updateObject(int columnIndex, Object o, int scale)(Code)(Java Doc) public void updateObject(String columnName, Object o, int scale) throws SQLException(Code)(Java Doc) public void updateRef(int columnIndex, Ref value) throws SQLException(Code)(Java Doc) public void updateRef(String columnName, Ref value) throws SQLException(Code)(Java Doc) public void updateRow()(Code)(Java Doc) public void updateShort(int columnIndex, short x)(Code)(Java Doc) public void updateShort(String columnName, short x) throws SQLException(Code)(Java Doc) public void updateString(int columnIndex, String x)(Code)(Java Doc) public void updateString(String columnName, String x) throws SQLException(Code)(Java Doc) public void updateTime(int columnIndex, Time time) throws SQLException(Code)(Java Doc) public void updateTime(String columnName, Time time) throws SQLException(Code)(Java Doc) public void updateTimestamp(int columnIndex, Timestamp time) throws SQLException(Code)(Java Doc) public void updateTimestamp(String columnName, Timestamp time) throws SQLException(Code)(Java Doc) abstract public boolean wasNull() throws SQLException(Code)(Java Doc)
|
|
|