java.lang.Object
org.apache.derby.vti.VTITemplate
org.apache.derby.vti.ForwardingVTI
- All Implemented Interfaces:
AutoCloseable
,ResultSet
,Wrapper
,AwareVTI
- Direct Known Subclasses:
ForeignTableVTI
This class contains a table function which forwards its behavior to another ResultSet wrapped inside it.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.derby.vti.VTITemplate
VTITemplate.ColumnDescriptor
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getAsciiStream
(int i) getBigDecimal
(int i) getBigDecimal
(int i, int scale) Deprecated.getBinaryStream
(int i) getBlob
(int i) boolean
getBoolean
(int i) byte
getByte
(int i) byte[]
getBytes
(int i) getCharacterStream
(int i) getClob
(int i) getDate
(int i) double
getDouble
(int i) float
getFloat
(int i) int
getInt
(int i) long
getLong
(int i) getObject
(int i) short
getShort
(int i) getString
(int i) getTime
(int i) getTimestamp
(int i) getTimestamp
(int i, Calendar cal) final ResultSet
Get the wrapped ResultSet.boolean
isClosed()
boolean
next()
boolean
wasNull()
final void
wrapResultSet
(ResultSet wrappedResultSet) Poke in another ResultSet to which we forward method calls.Methods inherited from class org.apache.derby.vti.VTITemplate
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, updateTimestamp
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.sql.ResultSet
updateObject, updateObject, updateObject, updateObject
-
Constructor Details
-
ForwardingVTI
public ForwardingVTI()Construct from another ResultSet.
-
-
Method Details
-
wrapResultSet
Poke in another ResultSet to which we forward method calls.- Parameters:
wrappedResultSet
- ResultSet to which to forward method calls
-
getWrappedResultSet
Get the wrapped ResultSet.- Returns:
- the wrapped ResultSet
-
close
- Throws:
SQLException
-
next
- Throws:
SQLException
-
isClosed
- Specified by:
isClosed
in interfaceResultSet
- Overrides:
isClosed
in classVTITemplate
- Throws:
SQLException
-
wasNull
- Specified by:
wasNull
in interfaceResultSet
- Overrides:
wasNull
in classVTITemplate
- Throws:
SQLException
-
getMetaData
- Specified by:
getMetaData
in interfaceResultSet
- Overrides:
getMetaData
in classVTITemplate
- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStream
in interfaceResultSet
- Overrides:
getAsciiStream
in classVTITemplate
- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceResultSet
- Overrides:
getBigDecimal
in classVTITemplate
- Throws:
SQLException
-
getBigDecimal
Deprecated.- Specified by:
getBigDecimal
in interfaceResultSet
- Overrides:
getBigDecimal
in classVTITemplate
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceResultSet
- Overrides:
getBinaryStream
in classVTITemplate
- Throws:
SQLException
-
getBlob
- Specified by:
getBlob
in interfaceResultSet
- Overrides:
getBlob
in classVTITemplate
- Throws:
SQLException
-
getBoolean
- Specified by:
getBoolean
in interfaceResultSet
- Overrides:
getBoolean
in classVTITemplate
- Throws:
SQLException
-
getByte
- Specified by:
getByte
in interfaceResultSet
- Overrides:
getByte
in classVTITemplate
- Throws:
SQLException
-
getBytes
- Specified by:
getBytes
in interfaceResultSet
- Overrides:
getBytes
in classVTITemplate
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceResultSet
- Overrides:
getCharacterStream
in classVTITemplate
- Throws:
SQLException
-
getClob
- Specified by:
getClob
in interfaceResultSet
- Overrides:
getClob
in classVTITemplate
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceResultSet
- Overrides:
getDate
in classVTITemplate
- Throws:
SQLException
-
getDate
- Specified by:
getDate
in interfaceResultSet
- Overrides:
getDate
in classVTITemplate
- Throws:
SQLException
-
getDouble
- Specified by:
getDouble
in interfaceResultSet
- Overrides:
getDouble
in classVTITemplate
- Throws:
SQLException
-
getFloat
- Specified by:
getFloat
in interfaceResultSet
- Overrides:
getFloat
in classVTITemplate
- Throws:
SQLException
-
getInt
- Specified by:
getInt
in interfaceResultSet
- Overrides:
getInt
in classVTITemplate
- Throws:
SQLException
-
getLong
- Specified by:
getLong
in interfaceResultSet
- Overrides:
getLong
in classVTITemplate
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Overrides:
getObject
in classVTITemplate
- Throws:
SQLException
-
getShort
- Specified by:
getShort
in interfaceResultSet
- Overrides:
getShort
in classVTITemplate
- Throws:
SQLException
-
getString
- Specified by:
getString
in interfaceResultSet
- Overrides:
getString
in classVTITemplate
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceResultSet
- Overrides:
getTime
in classVTITemplate
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceResultSet
- Overrides:
getTime
in classVTITemplate
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceResultSet
- Overrides:
getTimestamp
in classVTITemplate
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceResultSet
- Overrides:
getTimestamp
in classVTITemplate
- Throws:
SQLException
-