public class JDBC42UpdatableResultSet extends JDBC4UpdatableResultSet
charConverter, inserter, STREAM_DATA_MARKER, updater
catalog, columnLabelToIndex, columnNameToIndex, columnToIndexCache, columnUsed, connection, connectionId, currentRow, doingUpdates, EMPTY_SPACE, eventSink, fastClientCal, fastDefaultCal, fetchDirection, fetchSize, fields, firstCharOfQuery, fullColumnNameToIndex, gmtCalendar, hasBuiltIndexMapping, isBinaryEncoded, isClosed, MAX_DIFF_PREC, MIN_DIFF_PREC, nextResultSet, onInsertRow, owningStatement, pointOfOrigin, profileSql, reallyResult, resultCounter, resultId, resultSetConcurrency, resultSetType, retainOwningStatement, rowData, serverInfo, statementUsedForFetchingRows, thisRow, updateCount, updateId, useFastDateParsing, useLegacyDatetimeCode, useUsageAdvisor, warningChain, wasNullFlag, wrapperStatement
Constructor and Description |
---|
JDBC42UpdatableResultSet(java.lang.String catalog,
Field[] fields,
RowData tuples,
MySQLConnection conn,
StatementImpl creatorStmt) |
Modifier and Type | Method and Description |
---|---|
<T> T |
getObject(int columnIndex,
java.lang.Class<T> type)
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.
|
void |
updateObject(int columnIndex,
java.lang.Object x)
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.
|
void |
updateObject(int columnIndex,
java.lang.Object x,
int scaleOrLength)
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.
|
void |
updateObject(int columnIndex,
java.lang.Object x,
SQLType targetSqlType)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
updateObject(int columnIndex,
java.lang.Object x,
SQLType targetSqlType,
int scaleOrLength)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
updateObject(java.lang.String columnLabel,
java.lang.Object x)
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.
|
void |
updateObject(java.lang.String columnLabel,
java.lang.Object x,
int scaleOrLength)
Support for java.time.LocalDate, java.time.LocalTime, java.time.LocalDateTime, java.time.OffsetTime and java.time.OffsetDateTime.
|
void |
updateObject(java.lang.String columnLabel,
java.lang.Object x,
SQLType targetSqlType)
Support for java.sql.JDBCType/java.sql.SQLType.
|
void |
updateObject(java.lang.String columnLabel,
java.lang.Object x,
SQLType targetSqlType,
int scaleOrLength)
Support for java.sql.JDBCType/java.sql.SQLType.
|
getHoldability, getNativeNClob, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getRowId, getRowId, getSQLXML, getSQLXML, isClosed, isWrapperFor, unwrap, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateRowId, updateSQLXML, updateSQLXML
absolute, afterLast, beforeFirst, cancelRowUpdates, checkRowPos, checkUpdatability, deleteRow, first, generateStatements, getConcurrency, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, isUpdatable, last, moveToCurrentRow, moveToInsertRow, next, prev, previous, realClose, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setResultSetConcurrency, syncUpdate, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObjectInternal, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp
arraysEqual, buildIndexMapping, checkClosed, checkColumnBounds, clearNextResult, clearWarnings, close, convertLongToUlong, copy, fastDateCreate, fastTimeCreate, fastTimestampCreate, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getBytes, getBytesSize, getCalendarInstanceForSessionOrNew, getCharacterStream, getCharacterStream, getClob, getClob, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getDoubleInternal, getDoubleInternal, getExceptionInterceptor, getFetchDirection, getFetchSize, getFirstCharOfQuery, getFloat, getFloat, getGmtCalendar, getInstance, getInstance, getInt, getInt, getLong, getLong, getMetaData, getNativeArray, getNativeAsciiStream, getNativeBigDecimal, getNativeBigDecimal, getNativeBinaryStream, getNativeBlob, getNativeByte, getNativeByte, getNativeBytes, getNativeCharacterStream, getNativeClob, getNativeDate, getNativeDate, getNativeDateViaParseConversion, getNativeDouble, getNativeFloat, getNativeInt, getNativeInt, getNativeLong, getNativeLong, getNativeRef, getNativeShort, getNativeShort, getNativeString, getNativeTimestampViaParseConversion, getNativeTimeViaParseConversion, getNativeUnicodeStream, getNativeURL, getNextResultSet, getObject, getObject, getObject, getObject, getObject, getObjectStoredProc, getObjectStoredProc, getObjectStoredProc, getObjectStoredProc, getRef, getRef, getRow, getServerInfo, getShort, getShort, getStatement, getString, getString, getStringInternal, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getUpdateCount, getUpdateID, getURL, getURL, getWarnings, initializeFromCachedMetaData, initializeWithMetadata, populateCachedMetaData, reallyResult, redefineFieldsForDBMD, setBinaryEncoded, setFetchDirection, setFetchSize, setFirstCharOfQuery, setNextResultSet, setOwningStatement, setResultSetType, setServerInfo, setStatementUsedForFetchingRows, setWrapperStatement, toString, updateArray, updateArray, updateClob, updateRef, updateRef, wasNull
public JDBC42UpdatableResultSet(java.lang.String catalog, Field[] fields, RowData tuples, MySQLConnection conn, StatementImpl creatorStmt) throws java.sql.SQLException
java.sql.SQLException
public <T> T getObject(int columnIndex, java.lang.Class<T> type) throws java.sql.SQLException
getObject
in interface java.sql.ResultSet
getObject
in class ResultSetImpl
columnIndex
- type
- java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
updateObject
in class UpdatableResultSet
columnIndex
- x
- java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x, int scaleOrLength) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
updateObject
in class UpdatableResultSet
columnIndex
- x
- scaleOrLength
- java.sql.SQLException
public void updateObject(java.lang.String columnLabel, java.lang.Object x) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
updateObject
in class UpdatableResultSet
columnLabel
- x
- java.sql.SQLException
public void updateObject(java.lang.String columnLabel, java.lang.Object x, int scaleOrLength) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
updateObject
in class UpdatableResultSet
columnLabel
- x
- scaleOrLength
- java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x, SQLType targetSqlType) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
updateObject
in class UpdatableResultSet
columnIndex
- x
- targetSqlType
- java.sql.SQLException
public void updateObject(int columnIndex, java.lang.Object x, SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException
columnIndex
- x
- targetSqlType
- scaleOrLength
- java.sql.SQLException
public void updateObject(java.lang.String columnLabel, java.lang.Object x, SQLType targetSqlType) throws java.sql.SQLException
updateObject
in interface java.sql.ResultSet
updateObject
in class UpdatableResultSet
columnLabel
- x
- targetSqlType
- java.sql.SQLException
public void updateObject(java.lang.String columnLabel, java.lang.Object x, SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException
columnLabel
- x
- targetSqlType
- scaleOrLength
- java.sql.SQLException