org.apache.lens.client.jdbc
Class LensJdbcResultSet

java.lang.Object
  extended by org.apache.lens.client.jdbc.LensJdbcResultSet
All Implemented Interfaces:
ResultSet, Wrapper

public class LensJdbcResultSet
extends Object
implements ResultSet

The Class LensJdbcResultSet.


Field Summary
 
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
LensJdbcResultSet(QueryResult result, QueryResultSetMetadata metadata, LensJdbcStatement statement)
          Instantiates a new lens jdbc result set.
 
Method Summary
 boolean absolute(int i)
           
 void afterLast()
           
 void beforeFirst()
           
 void cancelRowUpdates()
           
 void clearWarnings()
           
 void close()
           
 void deleteRow()
           
 int findColumn(String colName)
           
 boolean first()
           
 Array getArray(int i)
           
 Array getArray(String s)
           
 InputStream getAsciiStream(int i)
           
 InputStream getAsciiStream(String s)
           
 BigDecimal getBigDecimal(int i)
           
 BigDecimal getBigDecimal(int i, int scale)
           
 BigDecimal getBigDecimal(String s)
           
 BigDecimal getBigDecimal(String s, int i)
           
 InputStream getBinaryStream(int i)
           
 InputStream getBinaryStream(String s)
           
 Blob getBlob(int i)
           
 Blob getBlob(String s)
           
 boolean getBoolean(int i)
           
 boolean getBoolean(String colName)
           
 byte getByte(int i)
           
 byte getByte(String colName)
           
 byte[] getBytes(int i)
           
 byte[] getBytes(String s)
           
 Reader getCharacterStream(int i)
           
 Reader getCharacterStream(String s)
           
 Clob getClob(int i)
           
 Clob getClob(String s)
           
 int getConcurrency()
           
 String getCursorName()
           
 Date getDate(int i)
           
 Date getDate(int i, Calendar calendar)
           
 Date getDate(String colName)
           
 Date getDate(String s, Calendar calendar)
           
 double getDouble(int i)
           
 double getDouble(String colName)
           
 int getFetchDirection()
           
 int getFetchSize()
           
 float getFloat(int i)
           
 float getFloat(String colName)
           
 int getHoldability()
           
 int getInt(int i)
           
 int getInt(String colName)
           
 long getLong(int i)
           
 long getLong(String colName)
           
 ResultSetMetaData getMetaData()
           
 Reader getNCharacterStream(int i)
           
 Reader getNCharacterStream(String s)
           
 NClob getNClob(int i)
           
 NClob getNClob(String s)
           
 String getNString(int i)
           
 String getNString(String s)
           
 Object getObject(int index)
           
<T> T
getObject(int columnIndex, Class<T> type)
          Gets the object.
 Object getObject(int i, Map<String,Class<?>> stringClassMap)
           
 Object getObject(String colName)
           
<T> T
getObject(String columnLabel, Class<T> type)
          Gets the object.
 Object getObject(String s, Map<String,Class<?>> stringClassMap)
           
 Ref getRef(int i)
           
 Ref getRef(String s)
           
 int getRow()
           
 RowId getRowId(int i)
           
 RowId getRowId(String s)
           
 short getShort(int i)
           
 short getShort(String colName)
           
 SQLXML getSQLXML(int i)
           
 SQLXML getSQLXML(String s)
           
 Statement getStatement()
           
 String getString(int i)
           
 String getString(String colName)
           
 Time getTime(int i)
           
 Time getTime(int i, Calendar calendar)
           
 Time getTime(String s)
           
 Time getTime(String s, Calendar calendar)
           
 Timestamp getTimestamp(int i)
           
 Timestamp getTimestamp(int i, Calendar calendar)
           
 Timestamp getTimestamp(String colName)
           
 Timestamp getTimestamp(String s, Calendar calendar)
           
 int getType()
           
 InputStream getUnicodeStream(int i)
           
 InputStream getUnicodeStream(String s)
           
 URL getURL(int i)
           
 URL getURL(String s)
           
 SQLWarning getWarnings()
           
 void insertRow()
           
 boolean isAfterLast()
           
 boolean isBeforeFirst()
           
 boolean isClosed()
           
 boolean isFirst()
           
 boolean isLast()
           
 boolean isWrapperFor(Class<?> aClass)
           
 boolean last()
           
 void moveToCurrentRow()
           
 void moveToInsertRow()
           
 boolean next()
           
 boolean previous()
           
 void refreshRow()
           
 boolean relative(int i)
           
 boolean rowDeleted()
           
 boolean rowInserted()
           
 boolean rowUpdated()
           
 void setFetchDirection(int i)
           
 void setFetchSize(int i)
           
<T> T
unwrap(Class<T> tClass)
           
 void updateArray(int i, Array array)
           
 void updateArray(String s, Array array)
           
 void updateAsciiStream(int i, InputStream inputStream)
           
 void updateAsciiStream(int i, InputStream inputStream, int i2)
           
 void updateAsciiStream(int i, InputStream inputStream, long l)
           
 void updateAsciiStream(String s, InputStream inputStream)
           
 void updateAsciiStream(String s, InputStream inputStream, int i)
           
 void updateAsciiStream(String s, InputStream inputStream, long l)
           
 void updateBigDecimal(int i, BigDecimal bigDecimal)
           
 void updateBigDecimal(String s, BigDecimal bigDecimal)
           
 void updateBinaryStream(int i, InputStream inputStream)
           
 void updateBinaryStream(int i, InputStream inputStream, int i2)
           
 void updateBinaryStream(int i, InputStream inputStream, long l)
           
 void updateBinaryStream(String s, InputStream inputStream)
           
 void updateBinaryStream(String s, InputStream inputStream, int i)
           
 void updateBinaryStream(String s, InputStream inputStream, long l)
           
 void updateBlob(int i, Blob blob)
           
 void updateBlob(int i, InputStream inputStream)
           
 void updateBlob(int i, InputStream inputStream, long l)
           
 void updateBlob(String s, Blob blob)
           
 void updateBlob(String s, InputStream inputStream)
           
 void updateBlob(String s, InputStream inputStream, long l)
           
 void updateBoolean(int i, boolean b)
           
 void updateBoolean(String s, boolean b)
           
 void updateByte(int i, byte b)
           
 void updateByte(String s, byte b)
           
 void updateBytes(int i, byte[] bytes)
           
 void updateBytes(String s, byte[] bytes)
           
 void updateCharacterStream(int i, Reader reader)
           
 void updateCharacterStream(int i, Reader reader, int i2)
           
 void updateCharacterStream(int i, Reader reader, long l)
           
 void updateCharacterStream(String s, Reader reader)
           
 void updateCharacterStream(String s, Reader reader, int i)
           
 void updateCharacterStream(String s, Reader reader, long l)
           
 void updateClob(int i, Clob clob)
           
 void updateClob(int i, Reader reader)
           
 void updateClob(int i, Reader reader, long l)
           
 void updateClob(String s, Clob clob)
           
 void updateClob(String s, Reader reader)
           
 void updateClob(String s, Reader reader, long l)
           
 void updateDate(int i, Date date)
           
 void updateDate(String s, Date date)
           
 void updateDouble(int i, double v)
           
 void updateDouble(String s, double v)
           
 void updateFloat(int i, float v)
           
 void updateFloat(String s, float v)
           
 void updateInt(int i, int i2)
           
 void updateInt(String s, int i)
           
 void updateLong(int i, long l)
           
 void updateLong(String s, long l)
           
 void updateNCharacterStream(int i, Reader reader)
           
 void updateNCharacterStream(int i, Reader reader, long l)
           
 void updateNCharacterStream(String s, Reader reader)
           
 void updateNCharacterStream(String s, Reader reader, long l)
           
 void updateNClob(int i, NClob nClob)
           
 void updateNClob(int i, Reader reader)
           
 void updateNClob(int i, Reader reader, long l)
           
 void updateNClob(String s, NClob nClob)
           
 void updateNClob(String s, Reader reader)
           
 void updateNClob(String s, Reader reader, long l)
           
 void updateNString(int i, String s)
           
 void updateNString(String s, String s2)
           
 void updateNull(int i)
           
 void updateNull(String s)
           
 void updateObject(int i, Object o)
           
 void updateObject(int i, Object o, int i2)
           
 void updateObject(String s, Object o)
           
 void updateObject(String s, Object o, int i)
           
 void updateRef(int i, Ref ref)
           
 void updateRef(String s, Ref ref)
           
 void updateRow()
           
 void updateRowId(int i, RowId rowId)
           
 void updateRowId(String s, RowId rowId)
           
 void updateShort(int i, short i2)
           
 void updateShort(String s, short i)
           
 void updateSQLXML(int i, SQLXML sqlxml)
           
 void updateSQLXML(String s, SQLXML sqlxml)
           
 void updateString(int i, String s)
           
 void updateString(String s, String s2)
           
 void updateTime(int i, Time time)
           
 void updateTime(String s, Time time)
           
 void updateTimestamp(int i, Timestamp timestamp)
           
 void updateTimestamp(String s, Timestamp timestamp)
           
 boolean wasNull()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LensJdbcResultSet

public LensJdbcResultSet(QueryResult result,
                         QueryResultSetMetadata metadata,
                         LensJdbcStatement statement)
Instantiates a new lens jdbc result set.

Parameters:
result - the result
metadata - the metadata
statement - the statement
Method Detail

next

public boolean next()
             throws SQLException
Specified by:
next in interface ResultSet
Throws:
SQLException

close

public void close()
           throws SQLException
Specified by:
close in interface ResultSet
Throws:
SQLException

wasNull

public boolean wasNull()
                throws SQLException
Specified by:
wasNull in interface ResultSet
Throws:
SQLException

getString

public String getString(int i)
                 throws SQLException
Specified by:
getString in interface ResultSet
Throws:
SQLException

getString

public String getString(String colName)
                 throws SQLException
Specified by:
getString in interface ResultSet
Throws:
SQLException

getBoolean

public boolean getBoolean(int i)
                   throws SQLException
Specified by:
getBoolean in interface ResultSet
Throws:
SQLException

getBoolean

public boolean getBoolean(String colName)
                   throws SQLException
Specified by:
getBoolean in interface ResultSet
Throws:
SQLException

getByte

public byte getByte(int i)
             throws SQLException
Specified by:
getByte in interface ResultSet
Throws:
SQLException

getByte

public byte getByte(String colName)
             throws SQLException
Specified by:
getByte in interface ResultSet
Throws:
SQLException

getShort

public short getShort(int i)
               throws SQLException
Specified by:
getShort in interface ResultSet
Throws:
SQLException

getShort

public short getShort(String colName)
               throws SQLException
Specified by:
getShort in interface ResultSet
Throws:
SQLException

getInt

public int getInt(int i)
           throws SQLException
Specified by:
getInt in interface ResultSet
Throws:
SQLException

getInt

public int getInt(String colName)
           throws SQLException
Specified by:
getInt in interface ResultSet
Throws:
SQLException

getLong

public long getLong(int i)
             throws SQLException
Specified by:
getLong in interface ResultSet
Throws:
SQLException

getLong

public long getLong(String colName)
             throws SQLException
Specified by:
getLong in interface ResultSet
Throws:
SQLException

getFloat

public float getFloat(int i)
               throws SQLException
Specified by:
getFloat in interface ResultSet
Throws:
SQLException

getFloat

public float getFloat(String colName)
               throws SQLException
Specified by:
getFloat in interface ResultSet
Throws:
SQLException

getDouble

public double getDouble(int i)
                 throws SQLException
Specified by:
getDouble in interface ResultSet
Throws:
SQLException

getDouble

public double getDouble(String colName)
                 throws SQLException
Specified by:
getDouble in interface ResultSet
Throws:
SQLException

getBytes

public byte[] getBytes(int i)
                throws SQLException
Specified by:
getBytes in interface ResultSet
Throws:
SQLException

getBytes

public byte[] getBytes(String s)
                throws SQLException
Specified by:
getBytes in interface ResultSet
Throws:
SQLException

getDate

public Date getDate(int i)
             throws SQLException
Specified by:
getDate in interface ResultSet
Throws:
SQLException

getDate

public Date getDate(String colName)
             throws SQLException
Specified by:
getDate in interface ResultSet
Throws:
SQLException

getTimestamp

public Timestamp getTimestamp(int i)
                       throws SQLException
Specified by:
getTimestamp in interface ResultSet
Throws:
SQLException

getTimestamp

public Timestamp getTimestamp(String colName)
                       throws SQLException
Specified by:
getTimestamp in interface ResultSet
Throws:
SQLException

getMetaData

public ResultSetMetaData getMetaData()
                              throws SQLException
Specified by:
getMetaData in interface ResultSet
Throws:
SQLException

getObject

public Object getObject(int index)
                 throws SQLException
Specified by:
getObject in interface ResultSet
Throws:
SQLException

getObject

public Object getObject(String colName)
                 throws SQLException
Specified by:
getObject in interface ResultSet
Throws:
SQLException

findColumn

public int findColumn(String colName)
               throws SQLException
Specified by:
findColumn in interface ResultSet
Throws:
SQLException

getWarnings

public SQLWarning getWarnings()
                       throws SQLException
Specified by:
getWarnings in interface ResultSet
Throws:
SQLException

clearWarnings

public void clearWarnings()
                   throws SQLException
Specified by:
clearWarnings in interface ResultSet
Throws:
SQLException

getFetchDirection

public int getFetchDirection()
                      throws SQLException
Specified by:
getFetchDirection in interface ResultSet
Throws:
SQLException

getType

public int getType()
            throws SQLException
Specified by:
getType in interface ResultSet
Throws:
SQLException

getConcurrency

public int getConcurrency()
                   throws SQLException
Specified by:
getConcurrency in interface ResultSet
Throws:
SQLException

getStatement

public Statement getStatement()
                       throws SQLException
Specified by:
getStatement in interface ResultSet
Throws:
SQLException

isClosed

public boolean isClosed()
                 throws SQLException
Specified by:
isClosed in interface ResultSet
Throws:
SQLException

getTime

public Time getTime(int i)
             throws SQLException
Specified by:
getTime in interface ResultSet
Throws:
SQLException

getTime

public Time getTime(String s)
             throws SQLException
Specified by:
getTime in interface ResultSet
Throws:
SQLException

getAsciiStream

public InputStream getAsciiStream(int i)
                           throws SQLException
Specified by:
getAsciiStream in interface ResultSet
Throws:
SQLException

getUnicodeStream

public InputStream getUnicodeStream(int i)
                             throws SQLException
Specified by:
getUnicodeStream in interface ResultSet
Throws:
SQLException

getBinaryStream

public InputStream getBinaryStream(int i)
                            throws SQLException
Specified by:
getBinaryStream in interface ResultSet
Throws:
SQLException

getBigDecimal

public BigDecimal getBigDecimal(int i,
                                int scale)
                         throws SQLException
Specified by:
getBigDecimal in interface ResultSet
Throws:
SQLException

getBigDecimal

public BigDecimal getBigDecimal(String s,
                                int i)
                         throws SQLException
Specified by:
getBigDecimal in interface ResultSet
Throws:
SQLException

getBigDecimal

public BigDecimal getBigDecimal(String s)
                         throws SQLException
Specified by:
getBigDecimal in interface ResultSet
Throws:
SQLException

getBigDecimal

public BigDecimal getBigDecimal(int i)
                         throws SQLException
Specified by:
getBigDecimal in interface ResultSet
Throws:
SQLException

getAsciiStream

public InputStream getAsciiStream(String s)
                           throws SQLException
Specified by:
getAsciiStream in interface ResultSet
Throws:
SQLException

getUnicodeStream

public InputStream getUnicodeStream(String s)
                             throws SQLException
Specified by:
getUnicodeStream in interface ResultSet
Throws:
SQLException

getBinaryStream

public InputStream getBinaryStream(String s)
                            throws SQLException
Specified by:
getBinaryStream in interface ResultSet
Throws:
SQLException

getCursorName

public String getCursorName()
                     throws SQLException
Specified by:
getCursorName in interface ResultSet
Throws:
SQLException

getCharacterStream

public Reader getCharacterStream(int i)
                          throws SQLException
Specified by:
getCharacterStream in interface ResultSet
Throws:
SQLException

getCharacterStream

public Reader getCharacterStream(String s)
                          throws SQLException
Specified by:
getCharacterStream in interface ResultSet
Throws:
SQLException

isBeforeFirst

public boolean isBeforeFirst()
                      throws SQLException
Specified by:
isBeforeFirst in interface ResultSet
Throws:
SQLException

isAfterLast

public boolean isAfterLast()
                    throws SQLException
Specified by:
isAfterLast in interface ResultSet
Throws:
SQLException

isFirst

public boolean isFirst()
                throws SQLException
Specified by:
isFirst in interface ResultSet
Throws:
SQLException

isLast

public boolean isLast()
               throws SQLException
Specified by:
isLast in interface ResultSet
Throws:
SQLException

beforeFirst

public void beforeFirst()
                 throws SQLException
Specified by:
beforeFirst in interface ResultSet
Throws:
SQLException

afterLast

public void afterLast()
               throws SQLException
Specified by:
afterLast in interface ResultSet
Throws:
SQLException

first

public boolean first()
              throws SQLException
Specified by:
first in interface ResultSet
Throws:
SQLException

last

public boolean last()
             throws SQLException
Specified by:
last in interface ResultSet
Throws:
SQLException

getRow

public int getRow()
           throws SQLException
Specified by:
getRow in interface ResultSet
Throws:
SQLException

absolute

public boolean absolute(int i)
                 throws SQLException
Specified by:
absolute in interface ResultSet
Throws:
SQLException

relative

public boolean relative(int i)
                 throws SQLException
Specified by:
relative in interface ResultSet
Throws:
SQLException

previous

public boolean previous()
                 throws SQLException
Specified by:
previous in interface ResultSet
Throws:
SQLException

setFetchDirection

public void setFetchDirection(int i)
                       throws SQLException
Specified by:
setFetchDirection in interface ResultSet
Throws:
SQLException

getFetchSize

public int getFetchSize()
                 throws SQLException
Specified by:
getFetchSize in interface ResultSet
Throws:
SQLException

setFetchSize

public void setFetchSize(int i)
                  throws SQLException
Specified by:
setFetchSize in interface ResultSet
Throws:
SQLException

rowUpdated

public boolean rowUpdated()
                   throws SQLException
Specified by:
rowUpdated in interface ResultSet
Throws:
SQLException

rowInserted

public boolean rowInserted()
                    throws SQLException
Specified by:
rowInserted in interface ResultSet
Throws:
SQLException

rowDeleted

public boolean rowDeleted()
                   throws SQLException
Specified by:
rowDeleted in interface ResultSet
Throws:
SQLException

updateNull

public void updateNull(int i)
                throws SQLException
Specified by:
updateNull in interface ResultSet
Throws:
SQLException

updateBoolean

public void updateBoolean(int i,
                          boolean b)
                   throws SQLException
Specified by:
updateBoolean in interface ResultSet
Throws:
SQLException

updateByte

public void updateByte(int i,
                       byte b)
                throws SQLException
Specified by:
updateByte in interface ResultSet
Throws:
SQLException

updateShort

public void updateShort(int i,
                        short i2)
                 throws SQLException
Specified by:
updateShort in interface ResultSet
Throws:
SQLException

updateInt

public void updateInt(int i,
                      int i2)
               throws SQLException
Specified by:
updateInt in interface ResultSet
Throws:
SQLException

updateLong

public void updateLong(int i,
                       long l)
                throws SQLException
Specified by:
updateLong in interface ResultSet
Throws:
SQLException

updateFloat

public void updateFloat(int i,
                        float v)
                 throws SQLException
Specified by:
updateFloat in interface ResultSet
Throws:
SQLException

updateDouble

public void updateDouble(int i,
                         double v)
                  throws SQLException
Specified by:
updateDouble in interface ResultSet
Throws:
SQLException

updateBigDecimal

public void updateBigDecimal(int i,
                             BigDecimal bigDecimal)
                      throws SQLException
Specified by:
updateBigDecimal in interface ResultSet
Throws:
SQLException

updateString

public void updateString(int i,
                         String s)
                  throws SQLException
Specified by:
updateString in interface ResultSet
Throws:
SQLException

updateBytes

public void updateBytes(int i,
                        byte[] bytes)
                 throws SQLException
Specified by:
updateBytes in interface ResultSet
Throws:
SQLException

updateDate

public void updateDate(int i,
                       Date date)
                throws SQLException
Specified by:
updateDate in interface ResultSet
Throws:
SQLException

updateTime

public void updateTime(int i,
                       Time time)
                throws SQLException
Specified by:
updateTime in interface ResultSet
Throws:
SQLException

updateTimestamp

public void updateTimestamp(int i,
                            Timestamp timestamp)
                     throws SQLException
Specified by:
updateTimestamp in interface ResultSet
Throws:
SQLException

updateAsciiStream

public void updateAsciiStream(int i,
                              InputStream inputStream,
                              int i2)
                       throws SQLException
Specified by:
updateAsciiStream in interface ResultSet
Throws:
SQLException

updateBinaryStream

public void updateBinaryStream(int i,
                               InputStream inputStream,
                               int i2)
                        throws SQLException
Specified by:
updateBinaryStream in interface ResultSet
Throws:
SQLException

updateCharacterStream

public void updateCharacterStream(int i,
                                  Reader reader,
                                  int i2)
                           throws SQLException
Specified by:
updateCharacterStream in interface ResultSet
Throws:
SQLException

updateObject

public void updateObject(int i,
                         Object o,
                         int i2)
                  throws SQLException
Specified by:
updateObject in interface ResultSet
Throws:
SQLException

updateObject

public void updateObject(int i,
                         Object o)
                  throws SQLException
Specified by:
updateObject in interface ResultSet
Throws:
SQLException

updateNull

public void updateNull(String s)
                throws SQLException
Specified by:
updateNull in interface ResultSet
Throws:
SQLException

updateBoolean

public void updateBoolean(String s,
                          boolean b)
                   throws SQLException
Specified by:
updateBoolean in interface ResultSet
Throws:
SQLException

updateByte

public void updateByte(String s,
                       byte b)
                throws SQLException
Specified by:
updateByte in interface ResultSet
Throws:
SQLException

updateShort

public void updateShort(String s,
                        short i)
                 throws SQLException
Specified by:
updateShort in interface ResultSet
Throws:
SQLException

updateInt

public void updateInt(String s,
                      int i)
               throws SQLException
Specified by:
updateInt in interface ResultSet
Throws:
SQLException

updateLong

public void updateLong(String s,
                       long l)
                throws SQLException
Specified by:
updateLong in interface ResultSet
Throws:
SQLException

updateFloat

public void updateFloat(String s,
                        float v)
                 throws SQLException
Specified by:
updateFloat in interface ResultSet
Throws:
SQLException

updateDouble

public void updateDouble(String s,
                         double v)
                  throws SQLException
Specified by:
updateDouble in interface ResultSet
Throws:
SQLException

updateBigDecimal

public void updateBigDecimal(String s,
                             BigDecimal bigDecimal)
                      throws SQLException
Specified by:
updateBigDecimal in interface ResultSet
Throws:
SQLException

updateString

public void updateString(String s,
                         String s2)
                  throws SQLException
Specified by:
updateString in interface ResultSet
Throws:
SQLException

updateBytes

public void updateBytes(String s,
                        byte[] bytes)
                 throws SQLException
Specified by:
updateBytes in interface ResultSet
Throws:
SQLException

updateDate

public void updateDate(String s,
                       Date date)
                throws SQLException
Specified by:
updateDate in interface ResultSet
Throws:
SQLException

updateTime

public void updateTime(String s,
                       Time time)
                throws SQLException
Specified by:
updateTime in interface ResultSet
Throws:
SQLException

updateTimestamp

public void updateTimestamp(String s,
                            Timestamp timestamp)
                     throws SQLException
Specified by:
updateTimestamp in interface ResultSet
Throws:
SQLException

updateAsciiStream

public void updateAsciiStream(String s,
                              InputStream inputStream,
                              int i)
                       throws SQLException
Specified by:
updateAsciiStream in interface ResultSet
Throws:
SQLException

updateBinaryStream

public void updateBinaryStream(String s,
                               InputStream inputStream,
                               int i)
                        throws SQLException
Specified by:
updateBinaryStream in interface ResultSet
Throws:
SQLException

updateCharacterStream

public void updateCharacterStream(String s,
                                  Reader reader,
                                  int i)
                           throws SQLException
Specified by:
updateCharacterStream in interface ResultSet
Throws:
SQLException

updateObject

public void updateObject(String s,
                         Object o,
                         int i)
                  throws SQLException
Specified by:
updateObject in interface ResultSet
Throws:
SQLException

updateObject

public void updateObject(String s,
                         Object o)
                  throws SQLException
Specified by:
updateObject in interface ResultSet
Throws:
SQLException

insertRow

public void insertRow()
               throws SQLException
Specified by:
insertRow in interface ResultSet
Throws:
SQLException

updateRow

public void updateRow()
               throws SQLException
Specified by:
updateRow in interface ResultSet
Throws:
SQLException

deleteRow

public void deleteRow()
               throws SQLException
Specified by:
deleteRow in interface ResultSet
Throws:
SQLException

refreshRow

public void refreshRow()
                throws SQLException
Specified by:
refreshRow in interface ResultSet
Throws:
SQLException

cancelRowUpdates

public void cancelRowUpdates()
                      throws SQLException
Specified by:
cancelRowUpdates in interface ResultSet
Throws:
SQLException

moveToInsertRow

public void moveToInsertRow()
                     throws SQLException
Specified by:
moveToInsertRow in interface ResultSet
Throws:
SQLException

moveToCurrentRow

public void moveToCurrentRow()
                      throws SQLException
Specified by:
moveToCurrentRow in interface ResultSet
Throws:
SQLException

getObject

public Object getObject(int i,
                        Map<String,Class<?>> stringClassMap)
                 throws SQLException
Specified by:
getObject in interface ResultSet
Throws:
SQLException

getRef

public Ref getRef(int i)
           throws SQLException
Specified by:
getRef in interface ResultSet
Throws:
SQLException

getBlob

public Blob getBlob(int i)
             throws SQLException
Specified by:
getBlob in interface ResultSet
Throws:
SQLException

getClob

public Clob getClob(int i)
             throws SQLException
Specified by:
getClob in interface ResultSet
Throws:
SQLException

getArray

public Array getArray(int i)
               throws SQLException
Specified by:
getArray in interface ResultSet
Throws:
SQLException

getObject

public Object getObject(String s,
                        Map<String,Class<?>> stringClassMap)
                 throws SQLException
Specified by:
getObject in interface ResultSet
Throws:
SQLException

getRef

public Ref getRef(String s)
           throws SQLException
Specified by:
getRef in interface ResultSet
Throws:
SQLException

getBlob

public Blob getBlob(String s)
             throws SQLException
Specified by:
getBlob in interface ResultSet
Throws:
SQLException

getClob

public Clob getClob(String s)
             throws SQLException
Specified by:
getClob in interface ResultSet
Throws:
SQLException

getArray

public Array getArray(String s)
               throws SQLException
Specified by:
getArray in interface ResultSet
Throws:
SQLException

getDate

public Date getDate(int i,
                    Calendar calendar)
             throws SQLException
Specified by:
getDate in interface ResultSet
Throws:
SQLException

getDate

public Date getDate(String s,
                    Calendar calendar)
             throws SQLException
Specified by:
getDate in interface ResultSet
Throws:
SQLException

getTime

public Time getTime(int i,
                    Calendar calendar)
             throws SQLException
Specified by:
getTime in interface ResultSet
Throws:
SQLException

getTime

public Time getTime(String s,
                    Calendar calendar)
             throws SQLException
Specified by:
getTime in interface ResultSet
Throws:
SQLException

getTimestamp

public Timestamp getTimestamp(int i,
                              Calendar calendar)
                       throws SQLException
Specified by:
getTimestamp in interface ResultSet
Throws:
SQLException

getTimestamp

public Timestamp getTimestamp(String s,
                              Calendar calendar)
                       throws SQLException
Specified by:
getTimestamp in interface ResultSet
Throws:
SQLException

getURL

public URL getURL(int i)
           throws SQLException
Specified by:
getURL in interface ResultSet
Throws:
SQLException

getURL

public URL getURL(String s)
           throws SQLException
Specified by:
getURL in interface ResultSet
Throws:
SQLException

updateRef

public void updateRef(int i,
                      Ref ref)
               throws SQLException
Specified by:
updateRef in interface ResultSet
Throws:
SQLException

updateRef

public void updateRef(String s,
                      Ref ref)
               throws SQLException
Specified by:
updateRef in interface ResultSet
Throws:
SQLException

updateBlob

public void updateBlob(int i,
                       Blob blob)
                throws SQLException
Specified by:
updateBlob in interface ResultSet
Throws:
SQLException

updateBlob

public void updateBlob(String s,
                       Blob blob)
                throws SQLException
Specified by:
updateBlob in interface ResultSet
Throws:
SQLException

updateClob

public void updateClob(int i,
                       Clob clob)
                throws SQLException
Specified by:
updateClob in interface ResultSet
Throws:
SQLException

updateClob

public void updateClob(String s,
                       Clob clob)
                throws SQLException
Specified by:
updateClob in interface ResultSet
Throws:
SQLException

updateArray

public void updateArray(int i,
                        Array array)
                 throws SQLException
Specified by:
updateArray in interface ResultSet
Throws:
SQLException

updateArray

public void updateArray(String s,
                        Array array)
                 throws SQLException
Specified by:
updateArray in interface ResultSet
Throws:
SQLException

getRowId

public RowId getRowId(int i)
               throws SQLException
Specified by:
getRowId in interface ResultSet
Throws:
SQLException

getRowId

public RowId getRowId(String s)
               throws SQLException
Specified by:
getRowId in interface ResultSet
Throws:
SQLException

updateRowId

public void updateRowId(int i,
                        RowId rowId)
                 throws SQLException
Specified by:
updateRowId in interface ResultSet
Throws:
SQLException

updateRowId

public void updateRowId(String s,
                        RowId rowId)
                 throws SQLException
Specified by:
updateRowId in interface ResultSet
Throws:
SQLException

getHoldability

public int getHoldability()
                   throws SQLException
Specified by:
getHoldability in interface ResultSet
Throws:
SQLException

updateNString

public void updateNString(int i,
                          String s)
                   throws SQLException
Specified by:
updateNString in interface ResultSet
Throws:
SQLException

updateNString

public void updateNString(String s,
                          String s2)
                   throws SQLException
Specified by:
updateNString in interface ResultSet
Throws:
SQLException

updateNClob

public void updateNClob(int i,
                        NClob nClob)
                 throws SQLException
Specified by:
updateNClob in interface ResultSet
Throws:
SQLException

updateNClob

public void updateNClob(String s,
                        NClob nClob)
                 throws SQLException
Specified by:
updateNClob in interface ResultSet
Throws:
SQLException

getNClob

public NClob getNClob(int i)
               throws SQLException
Specified by:
getNClob in interface ResultSet
Throws:
SQLException

getNClob

public NClob getNClob(String s)
               throws SQLException
Specified by:
getNClob in interface ResultSet
Throws:
SQLException

getSQLXML

public SQLXML getSQLXML(int i)
                 throws SQLException
Specified by:
getSQLXML in interface ResultSet
Throws:
SQLException

getSQLXML

public SQLXML getSQLXML(String s)
                 throws SQLException
Specified by:
getSQLXML in interface ResultSet
Throws:
SQLException

updateSQLXML

public void updateSQLXML(int i,
                         SQLXML sqlxml)
                  throws SQLException
Specified by:
updateSQLXML in interface ResultSet
Throws:
SQLException

updateSQLXML

public void updateSQLXML(String s,
                         SQLXML sqlxml)
                  throws SQLException
Specified by:
updateSQLXML in interface ResultSet
Throws:
SQLException

getNString

public String getNString(int i)
                  throws SQLException
Specified by:
getNString in interface ResultSet
Throws:
SQLException

getNString

public String getNString(String s)
                  throws SQLException
Specified by:
getNString in interface ResultSet
Throws:
SQLException

getNCharacterStream

public Reader getNCharacterStream(int i)
                           throws SQLException
Specified by:
getNCharacterStream in interface ResultSet
Throws:
SQLException

getNCharacterStream

public Reader getNCharacterStream(String s)
                           throws SQLException
Specified by:
getNCharacterStream in interface ResultSet
Throws:
SQLException

updateNCharacterStream

public void updateNCharacterStream(int i,
                                   Reader reader,
                                   long l)
                            throws SQLException
Specified by:
updateNCharacterStream in interface ResultSet
Throws:
SQLException

updateNCharacterStream

public void updateNCharacterStream(String s,
                                   Reader reader,
                                   long l)
                            throws SQLException
Specified by:
updateNCharacterStream in interface ResultSet
Throws:
SQLException

updateAsciiStream

public void updateAsciiStream(int i,
                              InputStream inputStream,
                              long l)
                       throws SQLException
Specified by:
updateAsciiStream in interface ResultSet
Throws:
SQLException

updateBinaryStream

public void updateBinaryStream(int i,
                               InputStream inputStream,
                               long l)
                        throws SQLException
Specified by:
updateBinaryStream in interface ResultSet
Throws:
SQLException

updateCharacterStream

public void updateCharacterStream(int i,
                                  Reader reader,
                                  long l)
                           throws SQLException
Specified by:
updateCharacterStream in interface ResultSet
Throws:
SQLException

updateAsciiStream

public void updateAsciiStream(String s,
                              InputStream inputStream,
                              long l)
                       throws SQLException
Specified by:
updateAsciiStream in interface ResultSet
Throws:
SQLException

updateBinaryStream

public void updateBinaryStream(String s,
                               InputStream inputStream,
                               long l)
                        throws SQLException
Specified by:
updateBinaryStream in interface ResultSet
Throws:
SQLException

updateCharacterStream

public void updateCharacterStream(String s,
                                  Reader reader,
                                  long l)
                           throws SQLException
Specified by:
updateCharacterStream in interface ResultSet
Throws:
SQLException

updateBlob

public void updateBlob(int i,
                       InputStream inputStream,
                       long l)
                throws SQLException
Specified by:
updateBlob in interface ResultSet
Throws:
SQLException

updateBlob

public void updateBlob(String s,
                       InputStream inputStream,
                       long l)
                throws SQLException
Specified by:
updateBlob in interface ResultSet
Throws:
SQLException

updateClob

public void updateClob(int i,
                       Reader reader,
                       long l)
                throws SQLException
Specified by:
updateClob in interface ResultSet
Throws:
SQLException

updateClob

public void updateClob(String s,
                       Reader reader,
                       long l)
                throws SQLException
Specified by:
updateClob in interface ResultSet
Throws:
SQLException

updateNClob

public void updateNClob(int i,
                        Reader reader,
                        long l)
                 throws SQLException
Specified by:
updateNClob in interface ResultSet
Throws:
SQLException

updateNClob

public void updateNClob(String s,
                        Reader reader,
                        long l)
                 throws SQLException
Specified by:
updateNClob in interface ResultSet
Throws:
SQLException

updateNCharacterStream

public void updateNCharacterStream(int i,
                                   Reader reader)
                            throws SQLException
Specified by:
updateNCharacterStream in interface ResultSet
Throws:
SQLException

updateNCharacterStream

public void updateNCharacterStream(String s,
                                   Reader reader)
                            throws SQLException
Specified by:
updateNCharacterStream in interface ResultSet
Throws:
SQLException

updateAsciiStream

public void updateAsciiStream(int i,
                              InputStream inputStream)
                       throws SQLException
Specified by:
updateAsciiStream in interface ResultSet
Throws:
SQLException

updateBinaryStream

public void updateBinaryStream(int i,
                               InputStream inputStream)
                        throws SQLException
Specified by:
updateBinaryStream in interface ResultSet
Throws:
SQLException

updateCharacterStream

public void updateCharacterStream(int i,
                                  Reader reader)
                           throws SQLException
Specified by:
updateCharacterStream in interface ResultSet
Throws:
SQLException

updateAsciiStream

public void updateAsciiStream(String s,
                              InputStream inputStream)
                       throws SQLException
Specified by:
updateAsciiStream in interface ResultSet
Throws:
SQLException

updateBinaryStream

public void updateBinaryStream(String s,
                               InputStream inputStream)
                        throws SQLException
Specified by:
updateBinaryStream in interface ResultSet
Throws:
SQLException

updateCharacterStream

public void updateCharacterStream(String s,
                                  Reader reader)
                           throws SQLException
Specified by:
updateCharacterStream in interface ResultSet
Throws:
SQLException

updateBlob

public void updateBlob(int i,
                       InputStream inputStream)
                throws SQLException
Specified by:
updateBlob in interface ResultSet
Throws:
SQLException

updateBlob

public void updateBlob(String s,
                       InputStream inputStream)
                throws SQLException
Specified by:
updateBlob in interface ResultSet
Throws:
SQLException

updateClob

public void updateClob(int i,
                       Reader reader)
                throws SQLException
Specified by:
updateClob in interface ResultSet
Throws:
SQLException

updateClob

public void updateClob(String s,
                       Reader reader)
                throws SQLException
Specified by:
updateClob in interface ResultSet
Throws:
SQLException

updateNClob

public void updateNClob(int i,
                        Reader reader)
                 throws SQLException
Specified by:
updateNClob in interface ResultSet
Throws:
SQLException

updateNClob

public void updateNClob(String s,
                        Reader reader)
                 throws SQLException
Specified by:
updateNClob in interface ResultSet
Throws:
SQLException

getObject

public <T> T getObject(int columnIndex,
                       Class<T> type)
            throws SQLException
Gets the object.

Type Parameters:
T - the generic type
Parameters:
columnIndex - the column index
type - the type
Returns:
the object
Throws:
SQLException - the SQL exception

getObject

public <T> T getObject(String columnLabel,
                       Class<T> type)
            throws SQLException
Gets the object.

Type Parameters:
T - the generic type
Parameters:
columnLabel - the column label
type - the type
Returns:
the object
Throws:
SQLException - the SQL exception

unwrap

public <T> T unwrap(Class<T> tClass)
         throws SQLException
Specified by:
unwrap in interface Wrapper
Throws:
SQLException

isWrapperFor

public boolean isWrapperFor(Class<?> aClass)
                     throws SQLException
Specified by:
isWrapperFor in interface Wrapper
Throws:
SQLException


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.