This class contains a table function which forwards its behavior to another ResultSet wrapped inside it.
| Modifier and Type | Field and Description |
|---|---|
| private ResultSet |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. Releases this |
| public InputStream | getAsciiStream(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public BigDecimal | getBigDecimal(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public BigDecimal | getBigDecimal(int
the first column is 1, the second is 2, ... i, int the number of digits to the right of the decimal point scale)Overrides org. Implements java.
Deprecated
Retrieves the value of the designated column in the current row
of this |
| public InputStream | getBinaryStream(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Blob | getBlob(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public boolean | getBoolean(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public byte | getByte(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public byte[] | getBytes(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Reader | getCharacterStream(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Clob | getClob(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Date | getDate(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Date | getDate(int
the first column is 1, the second is 2, ... i, Calendar the cal)java.util.Calendar object
to use in constructing the dateOverrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public double | getDouble(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public float | getFloat(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public int | getInt(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public long | getLong(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public ResultSetMetaData | getMetaData()
Overrides org. Implements java. Retrieves the number, types and properties of
this |
| public Object | getObject(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Gets the value of the designated column in the current row
of this |
| public short | getShort(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public String | getString(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Time | getTime(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Time | getTime(int
the first column is 1, the second is 2, ... i, Calendar the cal)java.util.Calendar object
to use in constructing the timeOverrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Timestamp | getTimestamp(int
the first column is 1, the second is 2, ... i)Overrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public Timestamp | getTimestamp(int
the first column is 1, the second is 2, ... i, Calendar the cal)java.util.Calendar object
to use in constructing the timestampOverrides org. Implements java. Retrieves the value of the designated column in the current row
of this |
| public final ResultSet | |
| public boolean | isClosed()
Overrides org. Implements java. Retrieves whether this |
| protected int | Returns: the corresponding number of the column in the wrapped ResultSetNumber of column in this VTI ourColumnNumber)This overridable method maps the ForwardVTI's column numbers to those of the wrapped ResultSet |
| public boolean | next()
Implements java. Moves the cursor forward one row from its current position. |
| public boolean | wasNull()
Overrides org. Implements java. Reports whether
the last column read had a value of SQL |
| public final void | wrapResultSet(ResultSet
ResultSet to which to forward method calls wrappedResultSet)Poke in another ResultSet to which we forward method calls. |
| _wrappedResultSet | back to summary |
|---|---|
| private ResultSet _wrappedResultSet | |
| ForwardingVTI | back to summary |
|---|---|
| public ForwardingVTI() Construct from another ResultSet. | |
| close | back to summary |
|---|---|
| public void close() throws SQLException Implements java. Doc from java. Releases this The closing of a
When a Note A
Calling the method
| |
| getAsciiStream | back to summary |
|---|---|
| public InputStream getAsciiStream(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this Note All the data in the returned stream must be
read prior to getting the value of any other column. The next
call to a getter method implicitly closes the stream. Also, a
stream may return
| |
| getBigDecimal | back to summary |
|---|---|
| public BigDecimal getBigDecimal(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getBigDecimal | back to summary |
|---|---|
| public BigDecimal getBigDecimal(int i, int scale) throws SQLException Overrides org. Implements java. Doc from java. Deprecated
Retrieves the value of the designated column in the current row
of this
| |
| getBinaryStream | back to summary |
|---|---|
| public InputStream getBinaryStream(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this Note All the data in the returned stream must be
read prior to getting the value of any other column. The next
call to a getter method implicitly closes the stream. Also, a
stream may return
| |
| getBlob | back to summary |
|---|---|
| public Blob getBlob(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getBoolean | back to summary |
|---|---|
| public boolean getBoolean(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this If the designated column has a datatype of CHAR or VARCHAR
and contains a "0" or has a datatype of BIT, TINYINT, SMALLINT, INTEGER or BIGINT
and contains a 0, a value of
| |
| getByte | back to summary |
|---|---|
| public byte getByte(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getCharacterStream | back to summary |
|---|---|
| public Reader getCharacterStream(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getClob | back to summary |
|---|---|
| public Clob getClob(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getDate | back to summary |
|---|---|
| public Date getDate(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getDate | back to summary |
|---|---|
| public Date getDate(int i, Calendar cal) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getDouble | back to summary |
|---|---|
| public double getDouble(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getFloat | back to summary |
|---|---|
| public float getFloat(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getInt | back to summary |
|---|---|
| public int getInt(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getLong | back to summary |
|---|---|
| public long getLong(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getMetaData | back to summary |
|---|---|
| public ResultSetMetaData getMetaData() throws SQLException Overrides org. Implements java. Doc from java. Retrieves the number, types and properties of
this
| |
| getObject | back to summary |
|---|---|
| public Object getObject(int i) throws SQLException Overrides org. Implements java. Doc from java. Gets the value of the designated column in the current row
of this This method will return the value of the given column as a
Java object. The type of the Java object will be the default
Java object type corresponding to the column's SQL type,
following the mapping for built-in types specified in the JDBC
specification. If the value is an SQL This method may also be used to read database-specific
abstract data types.
In the JDBC 2.0 API, the behavior of method
If
| |
| getShort | back to summary |
|---|---|
| public short getShort(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getString | back to summary |
|---|---|
| public String getString(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getTime | back to summary |
|---|---|
| public Time getTime(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getTime | back to summary |
|---|---|
| public Time getTime(int i, Calendar cal) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getTimestamp | back to summary |
|---|---|
| public Timestamp getTimestamp(int i) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getTimestamp | back to summary |
|---|---|
| public Timestamp getTimestamp(int i, Calendar cal) throws SQLException Overrides org. Implements java. Doc from java. Retrieves the value of the designated column in the current row
of this
| |
| getWrappedResultSet | back to summary |
|---|---|
| public final ResultSet getWrappedResultSet() Get the wrapped ResultSet.
| |
| isClosed | back to summary |
|---|---|
| public boolean isClosed() throws SQLException Overrides org. Implements java. Doc from java. Retrieves whether this
| |
| mapColumnNumber | back to summary |
|---|---|
| protected int mapColumnNumber(int ourColumnNumber) This overridable method maps the ForwardVTI's column numbers to those of the wrapped ResultSet
| |
| next | back to summary |
|---|---|
| public boolean next() throws SQLException Implements java. Doc from java. Moves the cursor forward one row from its current position.
A
When a call to the If an input stream is open for the current row, a call
to the method
| |
| wasNull | back to summary |
|---|---|
| public boolean wasNull() throws SQLException Overrides org. Implements java. Doc from java. Reports whether
the last column read had a value of SQL
| |
| wrapResultSet | back to summary |
|---|---|
| public final void wrapResultSet(ResultSet wrappedResultSet) Poke in another ResultSet to which we forward method calls.
| |