Logo Search packages:      
Sourcecode: mysql-connector-java version File versions

com::mysql::jdbc::UpdatableResultSet Class Reference

Inheritance diagram for com::mysql::jdbc::UpdatableResultSet:

com::mysql::jdbc::ResultSet

List of all members.


Detailed Description

A result set that is updatable.

Author:
Mark Matthews

Definition at line 44 of file UpdatableResultSet.java.


Public Member Functions

synchronized boolean absolute (int row) throws SQLException
synchronized void afterLast () throws SQLException
synchronized void beforeFirst () throws SQLException
synchronized void cancelRowUpdates () throws SQLException
void clearWarnings () throws SQLException
void close () throws SQLException
synchronized void deleteRow () throws SQLException
synchronized int findColumn (String columnName) throws SQLException
synchronized boolean first () throws SQLException
java.sql.Array getArray (String colName) throws SQLException
java.sql.Array getArray (int i) throws SQLException
InputStream getAsciiStream (String columnName) throws SQLException
InputStream getAsciiStream (int columnIndex) throws SQLException
BigDecimal getBigDecimal (String columnName) throws SQLException
BigDecimal getBigDecimal (int columnIndex) throws SQLException
BigDecimal getBigDecimal (String columnName, int scale) throws SQLException
BigDecimal getBigDecimal (int columnIndex, int scale) throws SQLException
InputStream getBinaryStream (String columnName) throws SQLException
InputStream getBinaryStream (int columnIndex) throws SQLException
java.sql.Blob getBlob (String colName) throws SQLException
java.sql.Blob getBlob (int columnIndex) throws SQLException
boolean getBoolean (String columnName) throws SQLException
boolean getBoolean (int columnIndex) throws SQLException
byte getByte (String columnName) throws SQLException
byte getByte (int columnIndex) throws SQLException
byte[] getBytes (String columnName) throws SQLException
byte[] getBytes (int columnIndex) throws SQLException
java.io.Reader getCharacterStream (String columnName) throws SQLException
java.io.Reader getCharacterStream (int columnIndex) throws SQLException
java.sql.Clob getClob (String colName) throws SQLException
java.sql.Clob getClob (int i) throws SQLException
int getConcurrency () throws SQLException
String getCursorName () throws SQLException
java.sql.Date getDate (String columnName, Calendar cal) throws SQLException
java.sql.Date getDate (int columnIndex, Calendar cal) throws SQLException
java.sql.Date getDate (String columnName) throws java.sql.SQLException
java.sql.Date getDate (int columnIndex) throws java.sql.SQLException
double getDouble (String columnName) throws SQLException
double getDouble (int columnIndex) throws SQLException
int getFetchDirection () throws SQLException
int getFetchSize () throws SQLException
float getFloat (String columnName) throws SQLException
float getFloat (int columnIndex) throws SQLException
int getInt (String columnName) throws SQLException
int getInt (int columnIndex) throws SQLException
long getLong (String columnName) throws SQLException
long getLong (int columnIndex) throws SQLException
java.sql.ResultSetMetaData getMetaData () throws SQLException
Object getObject (String colName, java.util.Map map) throws SQLException
Object getObject (int i, java.util.Map map) throws SQLException
Object getObject (String columnName) throws SQLException
Object getObject (int columnIndex) throws SQLException
java.sql.Ref getRef (String colName) throws SQLException
java.sql.Ref getRef (int i) throws SQLException
int getRow () throws SQLException
short getShort (String columnName) throws SQLException
short getShort (int columnIndex) throws SQLException
java.sql.Statement getStatement () throws SQLException
String getString (String columnName) throws SQLException
String getString (int columnIndex) throws SQLException
java.sql.Time getTime (String columnName, Calendar cal) throws SQLException
java.sql.Time getTime (int columnIndex, Calendar cal) throws SQLException
Time getTime (String columnName) throws java.sql.SQLException
Time getTime (int columnIndex) throws java.sql.SQLException
java.sql.Timestamp getTimestamp (String columnName, Calendar cal) throws SQLException
Timestamp getTimestamp (String columnName) throws java.sql.SQLException
java.sql.Timestamp getTimestamp (int columnIndex, Calendar cal) throws SQLException
Timestamp getTimestamp (int columnIndex) throws java.sql.SQLException
int getType () throws SQLException
InputStream getUnicodeStream (String columnName) throws SQLException
InputStream getUnicodeStream (int columnIndex) throws SQLException
URL getURL (String colName) throws SQLException
URL getURL (int colIndex) throws SQLException
java.sql.SQLWarning getWarnings () throws SQLException
synchronized void insertRow () throws SQLException
synchronized boolean isAfterLast () throws SQLException
synchronized boolean isBeforeFirst () throws SQLException
synchronized boolean isFirst () throws SQLException
synchronized boolean isLast () throws SQLException
synchronized boolean last () throws SQLException
synchronized void moveToCurrentRow () throws SQLException
synchronized void moveToInsertRow () throws SQLException
synchronized boolean next () throws SQLException
synchronized boolean prev () throws SQLException
synchronized boolean previous () throws SQLException
synchronized void refreshRow () throws SQLException
synchronized boolean relative (int rows) throws SQLException
synchronized boolean rowDeleted () throws SQLException
synchronized boolean rowInserted () throws SQLException
synchronized boolean rowUpdated () throws SQLException
void setFetchDirection (int direction) throws SQLException
void setFetchSize (int rows) throws SQLException
void setWrapperStatement (java.sql.Statement wrapperStatement)
String toString ()
 UpdatableResultSet (String catalog, Field[] fields, RowData tuples, Connection conn, Statement creatorStmt) throws SQLException
 UpdatableResultSet (long updateCount, long updateID, Connection conn, Statement creatorStmt) throws SQLException
void updateArray (String arg0, Array arg1) throws SQLException
void updateArray (int arg0, Array arg1) throws SQLException
synchronized void updateAsciiStream (String columnName, java.io.InputStream x, int length) throws SQLException
synchronized void updateAsciiStream (int columnIndex, java.io.InputStream x, int length) throws SQLException
synchronized void updateBigDecimal (String columnName, BigDecimal x) throws SQLException
synchronized void updateBigDecimal (int columnIndex, BigDecimal x) throws SQLException
synchronized void updateBinaryStream (String columnName, java.io.InputStream x, int length) throws SQLException
synchronized void updateBinaryStream (int columnIndex, java.io.InputStream x, int length) throws SQLException
synchronized void updateBlob (String columnName, java.sql.Blob blob) throws SQLException
synchronized void updateBlob (int columnIndex, java.sql.Blob blob) throws SQLException
synchronized void updateBoolean (String columnName, boolean x) throws SQLException
synchronized void updateBoolean (int columnIndex, boolean x) throws SQLException
synchronized void updateByte (String columnName, byte x) throws SQLException
synchronized void updateByte (int columnIndex, byte x) throws SQLException
synchronized void updateBytes (String columnName, byte[] x) throws SQLException
synchronized void updateBytes (int columnIndex, byte[] x) throws SQLException
synchronized void updateCharacterStream (String columnName, java.io.Reader reader, int length) throws SQLException
synchronized void updateCharacterStream (int columnIndex, java.io.Reader x, int length) throws SQLException
void updateClob (String columnName, java.sql.Clob clob) throws SQLException
void updateClob (int columnIndex, java.sql.Clob clob) throws SQLException
synchronized void updateDate (String columnName, java.sql.Date x) throws SQLException
synchronized void updateDate (int columnIndex, java.sql.Date x) throws SQLException
synchronized void updateDouble (String columnName, double x) throws SQLException
synchronized void updateDouble (int columnIndex, double x) throws SQLException
synchronized void updateFloat (String columnName, float x) throws SQLException
synchronized void updateFloat (int columnIndex, float x) throws SQLException
synchronized void updateInt (String columnName, int x) throws SQLException
synchronized void updateInt (int columnIndex, int x) throws SQLException
synchronized void updateLong (String columnName, long x) throws SQLException
synchronized void updateLong (int columnIndex, long x) throws SQLException
synchronized void updateNull (String columnName) throws SQLException
synchronized void updateNull (int columnIndex) throws SQLException
synchronized void updateObject (String columnName, Object x) throws SQLException
synchronized void updateObject (String columnName, Object x, int scale) throws SQLException
synchronized void updateObject (int columnIndex, Object x) throws SQLException
synchronized void updateObject (int columnIndex, Object x, int scale) throws SQLException
void updateRef (String arg0, Ref arg1) throws SQLException
void updateRef (int arg0, Ref arg1) throws SQLException
synchronized void updateRow () throws SQLException
synchronized void updateShort (String columnName, short x) throws SQLException
synchronized void updateShort (int columnIndex, short x) throws SQLException
synchronized void updateString (String columnName, String x) throws SQLException
synchronized void updateString (int columnIndex, String x) throws SQLException
synchronized void updateTime (String columnName, java.sql.Time x) throws SQLException
synchronized void updateTime (int columnIndex, java.sql.Time x) throws SQLException
synchronized void updateTimestamp (String columnName, java.sql.Timestamp x) throws SQLException
synchronized void updateTimestamp (int columnIndex, java.sql.Timestamp x) throws SQLException
boolean wasNull () throws SQLException

Protected Member Functions

void buildIndexMapping ()
final synchronized void checkClosed () throws SQLException
final void checkColumnBounds (int columnIndex) throws SQLException
void checkRowPos () throws SQLException
final ResultSet copy () throws SQLException
synchronized void generateStatements () throws SQLException
byte[] getBytes (int columnIndex, boolean noConversion) throws SQLException
double getDoubleInternal (String stringVal, int colIndex) throws SQLException
double getDoubleInternal (int colIndex) throws SQLException
char getFirstCharOfQuery ()
java.sql.Array getNativeArray (int i) throws SQLException
InputStream getNativeAsciiStream (int columnIndex) throws SQLException
BigDecimal getNativeBigDecimal (int columnIndex) throws SQLException
BigDecimal getNativeBigDecimal (int columnIndex, int scale) throws SQLException
InputStream getNativeBinaryStream (int columnIndex) throws SQLException
java.sql.Blob getNativeBlob (int columnIndex) throws SQLException
boolean getNativeBoolean (int columnIndex) throws SQLException
byte getNativeByte (int columnIndex) throws SQLException
byte[] getNativeBytes (int columnIndex, boolean noConversion) throws SQLException
java.io.Reader getNativeCharacterStream (int columnIndex) throws SQLException
java.sql.Clob getNativeClob (int columnIndex) throws SQLException
java.sql.Date getNativeDate (int columnIndex, TimeZone tz) throws SQLException
java.sql.Date getNativeDate (int columnIndex) throws SQLException
double getNativeDouble (int columnIndex) throws SQLException
float getNativeFloat (int columnIndex) throws SQLException
int getNativeInt (int columnIndex) throws SQLException
long getNativeLong (int columnIndex) throws SQLException
java.sql.Ref getNativeRef (int i) throws SQLException
short getNativeShort (int columnIndex) throws SQLException
String getNativeString (int columnIndex) throws SQLException
InputStream getNativeUnicodeStream (int columnIndex) throws SQLException
URL getNativeURL (int colIndex) throws SQLException
ResultSet getNextResultSet ()
Object getObjectStoredProc (int columnIndex, int desiredSqlType) throws SQLException
Object getObjectStoredProc (int i, java.util.Map map, int desiredSqlType) throws SQLException
Object getObjectStoredProc (String colName, java.util.Map map, int desiredSqlType) throws SQLException
Object getObjectStoredProc (String columnName, int desiredSqlType) throws SQLException
String getServerInfo ()
String getStringInternal (int columnIndex, boolean checkDateTypes) throws SQLException
void realClose (boolean calledExplicitly) throws SQLException
void setBinaryEncoded ()
void setFirstCharOfQuery (char c)
void setNextResultSet (ResultSet nextResultSet)
void setResultSetConcurrency (int concurrencyFlag)
void setResultSetType (int typeFlag)
void setServerInfo (String info)

Static Protected Member Functions

static BigInteger convertLongToUlong (long longVal)

Protected Attributes

String catalog = null
Map columnNameToIndex = null
boolean[] columnUsed = null
com.mysql.jdbc.Connection connection
int currentRow = -1
boolean doingUpdates = false
ProfileEventSink eventSink = null
int fetchDirection = FETCH_FORWARD
int fetchSize = 0
Field[] fields
char firstCharOfQuery
Map fullColumnNameToIndex = null
boolean hasBuiltIndexMapping = false
boolean isBinaryEncoded = false
boolean isClosed = false
ResultSet nextResultSet = null
boolean onInsertRow = false
com.mysql.jdbc.Statement owningStatement
Throwable pointOfOrigin
boolean profileSql = false
boolean reallyResult = false
int resultId
int resultSetConcurrency = 0
int resultSetType = 0
RowData rowData
String serverInfo = null
Calendar sessionCalendar
Object[] thisRow = null
long updateCount
long updateId = -1
boolean useUsageAdvisor = false
java.sql.SQLWarning warningChain = null
boolean wasNullFlag = false
java.sql.Statement wrapperStatement

Static Protected Attributes

static int resultCounter = 1

Package Functions

long getUpdateCount ()
long getUpdateID ()
boolean isUpdatable ()
boolean reallyResult ()
synchronized void syncUpdate () throws SQLException

Private Member Functions

void checkUpdatability () throws SQLException
synchronized void extractDefaultValues () throws SQLException
synchronized
SingleByteCharsetConverter 
getCharConverter () throws SQLException
synchronized String getQuotedIdChar () throws SQLException
void resetInserter () throws SQLException
byte[] stripBinaryPrefix (byte[] dataFrom)

Private Attributes

SingleByteCharsetConverter charConverter
String charEncoding
byte[][] defaultColumnValue
com.mysql.jdbc.PreparedStatement deleter = null
String deleteSQL = null
com.mysql.jdbc.PreparedStatement inserter = null
String insertSQL = null
boolean isUpdatable = false
List primaryKeyIndicies = null
String qualifiedAndQuotedTableName
String quotedIdChar = null
com.mysql.jdbc.PreparedStatement refresher
String refreshSQL = null
String tableOnlyName
com.mysql.jdbc.PreparedStatement updater = null
String updateSQL = null

Static Private Attributes

static final byte[] STREAM_DATA_MARKER

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index