public class ForwardingVTI extends VTITemplate
This class contains a table function which forwards its behavior to another ResultSet wrapped inside it.
VTITemplate.ColumnDescriptorCLOSE_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 and Description |
|---|
ForwardingVTI()
Construct from another ResultSet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
InputStream |
getAsciiStream(int i) |
BigDecimal |
getBigDecimal(int i) |
BigDecimal |
getBigDecimal(int i,
int scale)
Deprecated.
|
InputStream |
getBinaryStream(int i) |
Blob |
getBlob(int i) |
boolean |
getBoolean(int i) |
byte |
getByte(int i) |
byte[] |
getBytes(int i) |
Reader |
getCharacterStream(int i) |
Clob |
getClob(int i) |
Date |
getDate(int i) |
Date |
getDate(int i,
Calendar cal) |
double |
getDouble(int i) |
float |
getFloat(int i) |
int |
getInt(int i) |
long |
getLong(int i) |
ResultSetMetaData |
getMetaData() |
Object |
getObject(int i) |
short |
getShort(int i) |
String |
getString(int i) |
Time |
getTime(int i) |
Time |
getTime(int i,
Calendar cal) |
Timestamp |
getTimestamp(int i) |
Timestamp |
getTimestamp(int i,
Calendar cal) |
ResultSet |
getWrappedResultSet()
Get the wrapped ResultSet.
|
boolean |
isClosed() |
boolean |
next() |
boolean |
wasNull() |
void |
wrapResultSet(ResultSet wrappedResultSet)
Poke in another ResultSet to which we forward method calls.
|
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getConcurrency, getContext, getCursorName, getDate, getDate, getDouble, getFetchDirection, getFetchSize, getFloat, getHoldability, getInt, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getReturnTableSignature, getRow, getRowId, getRowId, getShort, getSQLXML, getSQLXML, getStatement, getString, getTime, getTime, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, isWrapperFor, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setContext, setFetchDirection, setFetchSize, unwrap, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestampequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateObject, updateObject, updateObject, updateObjectpublic final void wrapResultSet(ResultSet wrappedResultSet)
public final ResultSet getWrappedResultSet()
public void close()
throws SQLException
SQLExceptionpublic boolean next()
throws SQLException
SQLExceptionpublic boolean isClosed()
throws SQLException
isClosed in interface ResultSetisClosed in class VTITemplateSQLExceptionpublic boolean wasNull()
throws SQLException
wasNull in interface ResultSetwasNull in class VTITemplateSQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
getMetaData in interface ResultSetgetMetaData in class VTITemplateSQLExceptionpublic InputStream getAsciiStream(int i) throws SQLException
getAsciiStream in interface ResultSetgetAsciiStream in class VTITemplateSQLExceptionpublic BigDecimal getBigDecimal(int i) throws SQLException
getBigDecimal in interface ResultSetgetBigDecimal in class VTITemplateSQLException@Deprecated public BigDecimal getBigDecimal(int i, int scale) throws SQLException
getBigDecimal in interface ResultSetgetBigDecimal in class VTITemplateSQLExceptionpublic InputStream getBinaryStream(int i) throws SQLException
getBinaryStream in interface ResultSetgetBinaryStream in class VTITemplateSQLExceptionpublic Blob getBlob(int i) throws SQLException
getBlob in interface ResultSetgetBlob in class VTITemplateSQLExceptionpublic boolean getBoolean(int i)
throws SQLException
getBoolean in interface ResultSetgetBoolean in class VTITemplateSQLExceptionpublic byte getByte(int i)
throws SQLException
getByte in interface ResultSetgetByte in class VTITemplateSQLExceptionpublic byte[] getBytes(int i)
throws SQLException
getBytes in interface ResultSetgetBytes in class VTITemplateSQLExceptionpublic Reader getCharacterStream(int i) throws SQLException
getCharacterStream in interface ResultSetgetCharacterStream in class VTITemplateSQLExceptionpublic Clob getClob(int i) throws SQLException
getClob in interface ResultSetgetClob in class VTITemplateSQLExceptionpublic Date getDate(int i) throws SQLException
getDate in interface ResultSetgetDate in class VTITemplateSQLExceptionpublic Date getDate(int i, Calendar cal) throws SQLException
getDate in interface ResultSetgetDate in class VTITemplateSQLExceptionpublic double getDouble(int i)
throws SQLException
getDouble in interface ResultSetgetDouble in class VTITemplateSQLExceptionpublic float getFloat(int i)
throws SQLException
getFloat in interface ResultSetgetFloat in class VTITemplateSQLExceptionpublic int getInt(int i)
throws SQLException
getInt in interface ResultSetgetInt in class VTITemplateSQLExceptionpublic long getLong(int i)
throws SQLException
getLong in interface ResultSetgetLong in class VTITemplateSQLExceptionpublic Object getObject(int i) throws SQLException
getObject in interface ResultSetgetObject in class VTITemplateSQLExceptionpublic short getShort(int i)
throws SQLException
getShort in interface ResultSetgetShort in class VTITemplateSQLExceptionpublic String getString(int i) throws SQLException
getString in interface ResultSetgetString in class VTITemplateSQLExceptionpublic Time getTime(int i) throws SQLException
getTime in interface ResultSetgetTime in class VTITemplateSQLExceptionpublic Time getTime(int i, Calendar cal) throws SQLException
getTime in interface ResultSetgetTime in class VTITemplateSQLExceptionpublic Timestamp getTimestamp(int i) throws SQLException
getTimestamp in interface ResultSetgetTimestamp in class VTITemplateSQLExceptionpublic Timestamp getTimestamp(int i, Calendar cal) throws SQLException
getTimestamp in interface ResultSetgetTimestamp in class VTITemplateSQLExceptionApache Derby 10.14 API Documentation - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.