|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysql.jdbc.ResultSetImpl
com.mysql.jdbc.UpdatableResultSet
com.mysql.jdbc.JDBC4UpdatableResultSet
public class JDBC4UpdatableResultSet
| Field Summary |
|---|
| Fields inherited from class com.mysql.jdbc.UpdatableResultSet |
|---|
charConverter, inserter, STREAM_DATA_MARKER, updater |
| 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 |
| Constructor Summary | |
|---|---|
JDBC4UpdatableResultSet(java.lang.String catalog,
Field[] fields,
RowData tuples,
ConnectionImpl conn,
StatementImpl creatorStmt)
|
|
| Method Summary | ||
|---|---|---|
int |
getHoldability()
|
|
protected java.sql.NClob |
getNativeNClob(int columnIndex)
JDBC 4.0 Get a NCLOB column. |
|
java.io.Reader |
getNCharacterStream(int columnIndex)
JDBC 4.0 |
|
java.io.Reader |
getNCharacterStream(java.lang.String columnName)
JDBC 4.0 |
|
java.sql.NClob |
getNClob(int columnIndex)
JDBC 4.0 Get a NCLOB column. |
|
java.sql.NClob |
getNClob(java.lang.String columnName)
JDBC 4.0 Get a NCLOB column. |
|
java.lang.String |
getNString(int columnIndex)
JDBC 4.0 Get the value of a column in the current row as a Java String |
|
java.lang.String |
getNString(java.lang.String columnName)
JDBC 4.0 The following routines simply convert the columnName into a columnIndex and then call the appropriate routine above. |
|
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)
|
|
boolean |
isClosed()
|
|
boolean |
isWrapperFor(java.lang.Class<?> iface)
Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does. |
|
|
unwrap(java.lang.Class<T> iface)
Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy. |
|
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 |
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 |
updateNCharacterStream(int columnIndex,
java.io.Reader x)
|
|
void |
updateNCharacterStream(int columnIndex,
java.io.Reader x,
int length)
JDBC 4.0 Update a column with a character stream value. |
|
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 columnName,
java.io.Reader reader,
int length)
JDBC 4.0 Update a column with a character stream value. |
|
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 columnName,
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 x)
JDBC 4.0 Update a column with NATIONAL CHARACTER. |
|
void |
updateNString(java.lang.String columnName,
java.lang.String x)
JDBC 4.0 Update a column with NATIONAL CHARACTER. |
|
void |
updateRowId(int columnIndex,
java.sql.RowId x)
|
|
void |
updateSQLXML(int columnIndex,
java.sql.SQLXML xmlObject)
|
|
void |
updateSQLXML(java.lang.String columnLabel,
java.sql.SQLXML xmlObject)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JDBC4UpdatableResultSet(java.lang.String catalog,
Field[] fields,
RowData tuples,
ConnectionImpl conn,
StatementImpl creatorStmt)
throws java.sql.SQLException
java.sql.SQLException| Method Detail |
|---|
public void updateAsciiStream(int columnIndex,
java.io.InputStream x)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetupdateAsciiStream in class ResultSetImpljava.sql.SQLException
public void updateAsciiStream(int columnIndex,
java.io.InputStream x,
long length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetupdateAsciiStream in class ResultSetImpljava.sql.SQLException
public void updateBinaryStream(int columnIndex,
java.io.InputStream x)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetupdateBinaryStream in class ResultSetImpljava.sql.SQLException
public void updateBinaryStream(int columnIndex,
java.io.InputStream x,
long length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetupdateBinaryStream in class ResultSetImpljava.sql.SQLException
public void updateBlob(int columnIndex,
java.io.InputStream inputStream)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetupdateBlob in class ResultSetImpljava.sql.SQLException
public void updateBlob(int columnIndex,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetupdateBlob in class ResultSetImpljava.sql.SQLException
public void updateCharacterStream(int columnIndex,
java.io.Reader x)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetupdateCharacterStream in class ResultSetImpljava.sql.SQLException
public void updateCharacterStream(int columnIndex,
java.io.Reader x,
long length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetupdateCharacterStream in class ResultSetImpljava.sql.SQLException
public void updateClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetupdateClob in class ResultSetImpljava.sql.SQLException
public void updateClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetupdateClob in class ResultSetImpljava.sql.SQLException
public void updateNCharacterStream(int columnIndex,
java.io.Reader x)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetupdateNCharacterStream in class ResultSetImpljava.sql.SQLException
public void updateNCharacterStream(int columnIndex,
java.io.Reader x,
long length)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetupdateNCharacterStream in class ResultSetImpljava.sql.SQLException
public void updateNClob(int columnIndex,
java.io.Reader reader)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetupdateNClob in class ResultSetImpljava.sql.SQLException
public void updateNClob(int columnIndex,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetupdateNClob in class ResultSetImpljava.sql.SQLException
public void updateSQLXML(int columnIndex,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
updateSQLXML in interface java.sql.ResultSetupdateSQLXML in class ResultSetImpljava.sql.SQLException
public void updateRowId(int columnIndex,
java.sql.RowId x)
throws java.sql.SQLException
updateRowId in interface java.sql.ResultSetupdateRowId in class ResultSetImpljava.sql.SQLException
public void updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream x)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetupdateAsciiStream in class ResultSetImpljava.sql.SQLException
public void updateAsciiStream(java.lang.String columnLabel,
java.io.InputStream x,
long length)
throws java.sql.SQLException
updateAsciiStream in interface java.sql.ResultSetupdateAsciiStream in class ResultSetImpljava.sql.SQLException
public void updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream x)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetupdateBinaryStream in class ResultSetImpljava.sql.SQLException
public void updateBinaryStream(java.lang.String columnLabel,
java.io.InputStream x,
long length)
throws java.sql.SQLException
updateBinaryStream in interface java.sql.ResultSetupdateBinaryStream in class ResultSetImpljava.sql.SQLException
public void updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetupdateBlob in class ResultSetImpljava.sql.SQLException
public void updateBlob(java.lang.String columnLabel,
java.io.InputStream inputStream,
long length)
throws java.sql.SQLException
updateBlob in interface java.sql.ResultSetupdateBlob in class ResultSetImpljava.sql.SQLException
public void updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetupdateCharacterStream in class ResultSetImpljava.sql.SQLException
public void updateCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateCharacterStream in interface java.sql.ResultSetupdateCharacterStream in class ResultSetImpljava.sql.SQLException
public void updateClob(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetupdateClob in class ResultSetImpljava.sql.SQLException
public void updateClob(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateClob in interface java.sql.ResultSetupdateClob in class ResultSetImpljava.sql.SQLException
public void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetupdateNCharacterStream in class ResultSetImpljava.sql.SQLException
public void updateNCharacterStream(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNCharacterStream in interface java.sql.ResultSetupdateNCharacterStream in class ResultSetImpljava.sql.SQLException
public void updateNClob(java.lang.String columnLabel,
java.io.Reader reader)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetupdateNClob in class ResultSetImpljava.sql.SQLException
public void updateNClob(java.lang.String columnLabel,
java.io.Reader reader,
long length)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetupdateNClob in class ResultSetImpljava.sql.SQLException
public void updateSQLXML(java.lang.String columnLabel,
java.sql.SQLXML xmlObject)
throws java.sql.SQLException
updateSQLXML in interface java.sql.ResultSetupdateSQLXML in class ResultSetImpljava.sql.SQLException
public void updateNCharacterStream(int columnIndex,
java.io.Reader x,
int length)
throws java.sql.SQLException
columnIndex - the first column is 1, the second is 2, ...x - the new column valuelength - the length of the stream
java.sql.SQLException - if a database-access error occurs
public void updateNCharacterStream(java.lang.String columnName,
java.io.Reader reader,
int length)
throws java.sql.SQLException
columnName - the name of the columnreader - the new column valuelength - of the stream
java.sql.SQLException - if a database-access error occurs
public void updateNClob(int columnIndex,
java.sql.NClob nClob)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetupdateNClob in class ResultSetImpljava.sql.SQLExceptionResultSet#updateNClob(int, NClob)
public void updateNClob(java.lang.String columnName,
java.sql.NClob nClob)
throws java.sql.SQLException
updateNClob in interface java.sql.ResultSetupdateNClob in class ResultSetImpljava.sql.SQLExceptionResultSet#updateClob(int, Clob)
public void updateNString(int columnIndex,
java.lang.String x)
throws java.sql.SQLException
updateNString in interface java.sql.ResultSetupdateNString in class ResultSetImplcolumnIndex - the first column is 1, the second is 2, ...x - the new column value
java.sql.SQLException - if a database-access error occurs
public void updateNString(java.lang.String columnName,
java.lang.String x)
throws java.sql.SQLException
updateNString in interface java.sql.ResultSetupdateNString in class ResultSetImplcolumnName - the name of the columnx - the new column value
java.sql.SQLException - if a database-access error occurs
public int getHoldability()
throws java.sql.SQLException
getHoldability in interface java.sql.ResultSetgetHoldability in class ResultSetImpljava.sql.SQLException
protected java.sql.NClob getNativeNClob(int columnIndex)
throws java.sql.SQLException
columnIndex - the first column is 1, the second is 2, ...
java.sql.SQLException - if an error occurs
public java.io.Reader getNCharacterStream(int columnIndex)
throws java.sql.SQLException
Get the value of a column in the current row as a java.io.Reader.
getNCharacterStream in interface java.sql.ResultSetgetNCharacterStream in class ResultSetImplcolumnIndex - the column to get the value from
java.sql.SQLException - if an error occurs
public java.io.Reader getNCharacterStream(java.lang.String columnName)
throws java.sql.SQLException
Get the value of a column in the current row as a java.io.Reader.
getNCharacterStream in interface java.sql.ResultSetgetNCharacterStream in class ResultSetImplcolumnName - the column name to retrieve the value from
java.sql.SQLException - if an error occurs
public java.sql.NClob getNClob(int columnIndex)
throws java.sql.SQLException
getNClob in interface java.sql.ResultSetgetNClob in class ResultSetImpli - the first column is 1, the second is 2, ...
java.sql.SQLException - if an error occurs
public java.sql.NClob getNClob(java.lang.String columnName)
throws java.sql.SQLException
getNClob in interface java.sql.ResultSetgetNClob in class ResultSetImplcolName - the column name
java.sql.SQLException - if an error occurs
public java.lang.String getNString(int columnIndex)
throws java.sql.SQLException
getNString in interface java.sql.ResultSetgetNString in class ResultSetImplcolumnIndex - the first column is 1, the second is 2...
java.sql.SQLException - if a database access error occurs
public java.lang.String getNString(java.lang.String columnName)
throws java.sql.SQLException
getNString in interface java.sql.ResultSetgetNString in class ResultSetImplcolumnName - is the SQL name of the column
java.sql.SQLException - if a database access error occurs
public java.sql.RowId getRowId(int columnIndex)
throws java.sql.SQLException
getRowId in interface java.sql.ResultSetgetRowId in class ResultSetImpljava.sql.SQLException
public java.sql.RowId getRowId(java.lang.String columnLabel)
throws java.sql.SQLException
getRowId in interface java.sql.ResultSetgetRowId in class ResultSetImpljava.sql.SQLException
public java.sql.SQLXML getSQLXML(int columnIndex)
throws java.sql.SQLException
getSQLXML in interface java.sql.ResultSetgetSQLXML in class ResultSetImpljava.sql.SQLException
public java.sql.SQLXML getSQLXML(java.lang.String columnLabel)
throws java.sql.SQLException
getSQLXML in interface java.sql.ResultSetgetSQLXML in class ResultSetImpljava.sql.SQLException
public boolean isClosed()
throws java.sql.SQLException
isClosed in interface java.sql.ResultSetisClosed in class ResultSetImpljava.sql.SQLException
public boolean isWrapperFor(java.lang.Class<?> iface)
throws java.sql.SQLException
isWrapperFor on the wrapped object. If this does not
implement the interface and is not a wrapper, return false. This method
should be implemented as a low-cost operation compared to
unwrap so that callers can use this method to avoid
expensive unwrap calls that may fail. If this method
returns true then calling unwrap with the same argument
should succeed.
isWrapperFor in interface java.sql.WrapperisWrapperFor in class ResultSetImplinterfaces - a Class defining an interface.
java.sql.SQLException - if an error occurs while determining whether this is a
wrapper for an object with the given interface.
public <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException
unwrap recursively on the wrapped
object. If the receiver is not a wrapper and does not implement the
interface, then an SQLException is thrown.
unwrap in interface java.sql.Wrapperunwrap in class ResultSetImpliface - A Class defining an interface that the result must implement.
java.sql.SQLException - If no object found that implements the interface
|
MySQL Connector/J size='-1'>5.1.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||