FileDocCategorySizeDatePackage
ResultSetWrapper.javaAPI DocExample16849Tue Nov 13 16:30:30 GMT 2001tuning.jdbc

ResultSetWrapper

public class ResultSetWrapper extends Object implements ResultSet

Fields Summary
ResultSet
realResultSet
StatementWrapper
parentStatement
String
sql
Constructors Summary
public ResultSetWrapper(ResultSet resultSet, StatementWrapper statement, String sql)

    realResultSet = resultSet;
    parentStatement = statement;
    this.sql = sql;
  
Methods Summary
public booleanabsolute(int row)

    return realResultSet.absolute(row);
  
public voidafterLast()

    realResultSet.afterLast();
  
public voidbeforeFirst()

    realResultSet.beforeFirst();
  
public voidcancelRowUpdates()

    realResultSet.cancelRowUpdates();
  
public voidclearWarnings()

    realResultSet.clearWarnings();
  
public voidclose()

    realResultSet.close();
  
public voiddeleteRow()

    realResultSet.deleteRow();
  
public intfindColumn(java.lang.String columnName)

    return realResultSet.findColumn(columnName);
  
public booleanfirst()

    return realResultSet.first();
  
public java.sql.ArraygetArray(int i)

    return new SQLArrayWrapper(realResultSet.getArray(i), parentStatement, sql);
  
public java.sql.ArraygetArray(java.lang.String colName)

    return new SQLArrayWrapper(realResultSet.getArray(colName), parentStatement, sql);
  
public java.io.InputStreamgetAsciiStream(int columnIndex)

    return realResultSet.getAsciiStream(columnIndex);
  
public java.io.InputStreamgetAsciiStream(java.lang.String columnName)

    return realResultSet.getAsciiStream(columnName);
  
public java.math.BigDecimalgetBigDecimal(int columnIndex)

    return realResultSet.getBigDecimal(columnIndex);
  
public java.math.BigDecimalgetBigDecimal(int columnIndex, int scale)

    return realResultSet.getBigDecimal(columnIndex, scale);
  
public java.math.BigDecimalgetBigDecimal(java.lang.String columnName)

    return realResultSet.getBigDecimal(columnName);
  
public java.math.BigDecimalgetBigDecimal(java.lang.String columnName, int scale)

    return realResultSet.getBigDecimal(columnName, scale);
  
public java.io.InputStreamgetBinaryStream(int columnIndex)

    return realResultSet.getBinaryStream(columnIndex);
  
public java.io.InputStreamgetBinaryStream(java.lang.String columnName)

    return realResultSet.getBinaryStream(columnName);
  
public java.sql.BlobgetBlob(int i)

    return realResultSet.getBlob(i);
  
public java.sql.BlobgetBlob(java.lang.String colName)

    return realResultSet.getBlob(colName);
  
public booleangetBoolean(int columnIndex)

    return realResultSet.getBoolean(columnIndex);
  
public booleangetBoolean(java.lang.String columnName)

    return realResultSet.getBoolean(columnName);
  
public bytegetByte(int columnIndex)

    return realResultSet.getByte(columnIndex);
  
public bytegetByte(java.lang.String columnName)

    return realResultSet.getByte(columnName);
  
public byte[]getBytes(java.lang.String s)

    return realResultSet.getBytes(s);
  
public byte[]getBytes(int i)

    return realResultSet.getBytes(i);
  
public java.io.ReadergetCharacterStream(int columnIndex)

    return realResultSet.getCharacterStream(columnIndex);
  
public java.io.ReadergetCharacterStream(java.lang.String columnName)

    return realResultSet.getCharacterStream(columnName);
  
public java.sql.ClobgetClob(int i)

    return realResultSet.getClob(i);
  
public java.sql.ClobgetClob(java.lang.String colName)

    return realResultSet.getClob(colName);
  
public intgetConcurrency()

    return realResultSet.getConcurrency();
  
public java.lang.StringgetCursorName()

    return realResultSet.getCursorName();
  
public java.sql.DategetDate(int columnIndex)

    return realResultSet.getDate(columnIndex);
  
public java.sql.DategetDate(int columnIndex, java.util.Calendar cal)

    return realResultSet.getDate(columnIndex, cal);
  
public java.sql.DategetDate(java.lang.String columnName)

    return realResultSet.getDate(columnName);
  
public java.sql.DategetDate(java.lang.String columnName, java.util.Calendar cal)

    return realResultSet.getDate(columnName, cal);
  
public doublegetDouble(int columnIndex)

    return realResultSet.getDouble(columnIndex);
  
public doublegetDouble(java.lang.String columnName)

    return realResultSet.getDouble(columnName);
  
public intgetFetchDirection()

    return realResultSet.getFetchDirection();
  
public intgetFetchSize()

    return realResultSet.getFetchSize();
  
public floatgetFloat(int columnIndex)

    return realResultSet.getFloat(columnIndex);
  
public floatgetFloat(java.lang.String columnName)

    return realResultSet.getFloat(columnName);
  
public intgetInt(int columnIndex)

    return realResultSet.getInt(columnIndex);
  
public intgetInt(java.lang.String columnName)

    return realResultSet.getInt(columnName);
  
public longgetLong(int columnIndex)

    return realResultSet.getLong(columnIndex);
  
public longgetLong(java.lang.String columnName)

    return realResultSet.getLong(columnName);
  
public java.sql.ResultSetMetaDatagetMetaData()

    return realResultSet.getMetaData();
  
public java.lang.ObjectgetObject(int columnIndex)

    return realResultSet.getObject(columnIndex);
  
public java.lang.ObjectgetObject(int i, java.util.Map map)

    return realResultSet.getObject(i, map);
  
public java.lang.ObjectgetObject(java.lang.String columnName)

    return realResultSet.getObject(columnName);
  
public java.lang.ObjectgetObject(java.lang.String colName, java.util.Map map)

    return realResultSet.getObject(colName, map);
  
public java.sql.RefgetRef(int i)

    return realResultSet.getRef(i);
  
public java.sql.RefgetRef(java.lang.String colName)

    return realResultSet.getRef(colName);
  
public intgetRow()

    return realResultSet.getRow();
  
public shortgetShort(int columnIndex)

    return realResultSet.getShort(columnIndex);
  
public shortgetShort(java.lang.String columnName)

    return realResultSet.getShort(columnName);
  
public java.sql.StatementgetStatement()

    return parentStatement;
  
public java.lang.StringgetString(int columnIndex)

    return realResultSet.getString(columnIndex);
  
public java.lang.StringgetString(java.lang.String columnName)

    return realResultSet.getString(columnName);
  
public java.sql.TimegetTime(int columnIndex)

    return realResultSet.getTime(columnIndex);
  
public java.sql.TimegetTime(int columnIndex, java.util.Calendar cal)

    return realResultSet.getTime(columnIndex, cal);
  
public java.sql.TimegetTime(java.lang.String columnName)

    return realResultSet.getTime(columnName);
  
public java.sql.TimegetTime(java.lang.String columnName, java.util.Calendar cal)

    return realResultSet.getTime(columnName, cal);
  
public java.sql.TimestampgetTimestamp(int columnIndex)

    return realResultSet.getTimestamp(columnIndex);
  
public java.sql.TimestampgetTimestamp(int columnIndex, java.util.Calendar cal)

    return realResultSet.getTimestamp(columnIndex, cal);
  
public java.sql.TimestampgetTimestamp(java.lang.String columnName)

    return realResultSet.getTimestamp(columnName);
  
public java.sql.TimestampgetTimestamp(java.lang.String columnName, java.util.Calendar cal)

    return realResultSet.getTimestamp(columnName, cal);
  
public intgetType()

    return realResultSet.getType();
  
public java.io.InputStreamgetUnicodeStream(int columnIndex)

    return realResultSet.getUnicodeStream(columnIndex);
  
public java.io.InputStreamgetUnicodeStream(java.lang.String columnName)

    return realResultSet.getUnicodeStream(columnName);
  
public java.sql.SQLWarninggetWarnings()

    return realResultSet.getWarnings();
  
public voidinsertRow()

    realResultSet.insertRow();
  
public booleanisAfterLast()

    return realResultSet.isAfterLast();
  
public booleanisBeforeFirst()

    return realResultSet.isBeforeFirst();
  
public booleanisFirst()

    return realResultSet.isFirst();
  
public booleanisLast()

    return realResultSet.isLast();
  
public booleanlast()

    return realResultSet.last();
  
public voidmoveToCurrentRow()

    realResultSet.moveToCurrentRow();
  
public voidmoveToInsertRow()

    realResultSet.moveToInsertRow();
  
public booleannext()

    Thread t = Thread.currentThread();
    JDBCLogger.startLogSqlNext(t, sql);
    boolean b = realResultSet.next();
    JDBCLogger.endLogSqlNext(t, sql);
    return b;
  
public booleanprevious()

    boolean b = realResultSet.previous();
    return b;
  
public voidrefreshRow()

    realResultSet.refreshRow();
  
public booleanrelative(int rows)

    return realResultSet.relative(rows);
  
public booleanrowDeleted()

    return realResultSet.rowDeleted();
  
public booleanrowInserted()

    return realResultSet.rowInserted();
  
public booleanrowUpdated()

    return realResultSet.rowUpdated();
  
public voidsetFetchDirection(int direction)

    realResultSet.setFetchDirection(direction);
  
public voidsetFetchSize(int rows)

    realResultSet.setFetchSize(rows);
  
public voidupdateAsciiStream(int columnIndex, java.io.InputStream x, int length)

    realResultSet.updateAsciiStream(columnIndex, x, length);
  
public voidupdateAsciiStream(java.lang.String columnName, java.io.InputStream x, int length)

    realResultSet.updateAsciiStream(columnName, x, length);
  
public voidupdateBigDecimal(int columnIndex, java.math.BigDecimal x)

    realResultSet.updateBigDecimal(columnIndex, x);
  
public voidupdateBigDecimal(java.lang.String columnName, java.math.BigDecimal x)

    realResultSet.updateBigDecimal(columnName, x);
  
public voidupdateBinaryStream(int columnIndex, java.io.InputStream x, int length)

    realResultSet.updateBinaryStream(columnIndex, x, length);
  
public voidupdateBinaryStream(java.lang.String columnName, java.io.InputStream x, int length)

    realResultSet.updateBinaryStream(columnName, x, length);
  
public voidupdateBoolean(int columnIndex, boolean x)

    realResultSet.updateBoolean(columnIndex, x);
  
public voidupdateBoolean(java.lang.String columnName, boolean x)

    realResultSet.updateBoolean(columnName, x);
  
public voidupdateByte(java.lang.String columnName, byte x)

    realResultSet.updateByte(columnName, x);
  
public voidupdateByte(int columnIndex, byte x)

    realResultSet.updateByte(columnIndex, x);
  
public voidupdateBytes(int columnIndex, byte[] x)

    realResultSet.updateBytes(columnIndex, x);
  
public voidupdateBytes(java.lang.String columnName, byte[] x)

    realResultSet.updateBytes(columnName, x);
  
public voidupdateCharacterStream(int columnIndex, java.io.Reader x, int length)

    realResultSet.updateCharacterStream(columnIndex, x, length);
  
public voidupdateCharacterStream(java.lang.String columnName, java.io.Reader reader, int length)

    realResultSet.updateCharacterStream(columnName, reader, length);
  
public voidupdateDate(int columnIndex, java.sql.Date x)

    realResultSet.updateDate(columnIndex, x);
  
public voidupdateDate(java.lang.String columnName, java.sql.Date x)

    realResultSet.updateDate(columnName, x);
  
public voidupdateDouble(int columnIndex, double x)

    realResultSet.updateDouble(columnIndex, x);
  
public voidupdateDouble(java.lang.String columnName, double x)

    realResultSet.updateDouble(columnName, x);
  
public voidupdateFloat(int columnIndex, float x)

    realResultSet.updateFloat(columnIndex, x);
  
public voidupdateFloat(java.lang.String columnName, float x)

    realResultSet.updateFloat(columnName, x);
  
public voidupdateInt(int columnIndex, int x)

    realResultSet.updateInt(columnIndex, x);
  
public voidupdateInt(java.lang.String columnName, int x)

    realResultSet.updateInt(columnName, x);
  
public voidupdateLong(int columnIndex, long x)

    realResultSet.updateLong(columnIndex, x);
  
public voidupdateLong(java.lang.String columnName, long x)

    realResultSet.updateLong(columnName, x);
  
public voidupdateNull(int columnIndex)

    realResultSet.updateNull(columnIndex);
  
public voidupdateNull(java.lang.String columnName)

    realResultSet.updateNull(columnName);
  
public voidupdateObject(int columnIndex, java.lang.Object x)

    realResultSet.updateObject(columnIndex, x);
  
public voidupdateObject(int columnIndex, java.lang.Object x, int scale)

    realResultSet.updateObject(columnIndex, x, scale);
  
public voidupdateObject(java.lang.String columnName, java.lang.Object x)

    realResultSet.updateObject(columnName, x);
  
public voidupdateObject(java.lang.String columnName, java.lang.Object x, int scale)

    realResultSet.updateObject(columnName, x, scale);
  
public voidupdateRow()

    realResultSet.updateRow();
  
public voidupdateShort(int columnIndex, short x)

    realResultSet.updateShort(columnIndex, x);
  
public voidupdateShort(java.lang.String columnName, short x)

    realResultSet.updateShort(columnName, x);
  
public voidupdateString(int columnIndex, java.lang.String x)

    realResultSet.updateString(columnIndex, x);
  
public voidupdateString(java.lang.String columnName, java.lang.String x)

    realResultSet.updateString(columnName, x);
  
public voidupdateTime(int columnIndex, java.sql.Time x)

    realResultSet.updateTime(columnIndex, x);
  
public voidupdateTime(java.lang.String columnName, java.sql.Time x)

    realResultSet.updateTime(columnName, x);
  
public voidupdateTimestamp(int columnIndex, java.sql.Timestamp x)

    realResultSet.updateTimestamp(columnIndex, x);
  
public voidupdateTimestamp(java.lang.String columnName, java.sql.Timestamp x)

    realResultSet.updateTimestamp(columnName, x);
  
public booleanwasNull()

    return realResultSet.wasNull();