public class ForwardingVTI extends VTITemplate
This class contains a table function which forwards its behavior to another ResultSet wrapped inside it.
VTITemplate.ColumnDescriptor
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 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, updateTimestamp
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateObject, updateObject, updateObject, updateObject
public final void wrapResultSet(ResultSet wrappedResultSet)
public final ResultSet getWrappedResultSet()
public void close() throws SQLException
SQLException
public boolean next() throws SQLException
SQLException
public boolean isClosed() throws SQLException
isClosed
in interface ResultSet
isClosed
in class VTITemplate
SQLException
public boolean wasNull() throws SQLException
wasNull
in interface ResultSet
wasNull
in class VTITemplate
SQLException
public ResultSetMetaData getMetaData() throws SQLException
getMetaData
in interface ResultSet
getMetaData
in class VTITemplate
SQLException
public InputStream getAsciiStream(int i) throws SQLException
getAsciiStream
in interface ResultSet
getAsciiStream
in class VTITemplate
SQLException
public BigDecimal getBigDecimal(int i) throws SQLException
getBigDecimal
in interface ResultSet
getBigDecimal
in class VTITemplate
SQLException
@Deprecated public BigDecimal getBigDecimal(int i, int scale) throws SQLException
getBigDecimal
in interface ResultSet
getBigDecimal
in class VTITemplate
SQLException
public InputStream getBinaryStream(int i) throws SQLException
getBinaryStream
in interface ResultSet
getBinaryStream
in class VTITemplate
SQLException
public Blob getBlob(int i) throws SQLException
getBlob
in interface ResultSet
getBlob
in class VTITemplate
SQLException
public boolean getBoolean(int i) throws SQLException
getBoolean
in interface ResultSet
getBoolean
in class VTITemplate
SQLException
public byte getByte(int i) throws SQLException
getByte
in interface ResultSet
getByte
in class VTITemplate
SQLException
public byte[] getBytes(int i) throws SQLException
getBytes
in interface ResultSet
getBytes
in class VTITemplate
SQLException
public Reader getCharacterStream(int i) throws SQLException
getCharacterStream
in interface ResultSet
getCharacterStream
in class VTITemplate
SQLException
public Clob getClob(int i) throws SQLException
getClob
in interface ResultSet
getClob
in class VTITemplate
SQLException
public Date getDate(int i) throws SQLException
getDate
in interface ResultSet
getDate
in class VTITemplate
SQLException
public Date getDate(int i, Calendar cal) throws SQLException
getDate
in interface ResultSet
getDate
in class VTITemplate
SQLException
public double getDouble(int i) throws SQLException
getDouble
in interface ResultSet
getDouble
in class VTITemplate
SQLException
public float getFloat(int i) throws SQLException
getFloat
in interface ResultSet
getFloat
in class VTITemplate
SQLException
public int getInt(int i) throws SQLException
getInt
in interface ResultSet
getInt
in class VTITemplate
SQLException
public long getLong(int i) throws SQLException
getLong
in interface ResultSet
getLong
in class VTITemplate
SQLException
public Object getObject(int i) throws SQLException
getObject
in interface ResultSet
getObject
in class VTITemplate
SQLException
public short getShort(int i) throws SQLException
getShort
in interface ResultSet
getShort
in class VTITemplate
SQLException
public String getString(int i) throws SQLException
getString
in interface ResultSet
getString
in class VTITemplate
SQLException
public Time getTime(int i) throws SQLException
getTime
in interface ResultSet
getTime
in class VTITemplate
SQLException
public Time getTime(int i, Calendar cal) throws SQLException
getTime
in interface ResultSet
getTime
in class VTITemplate
SQLException
public Timestamp getTimestamp(int i) throws SQLException
getTimestamp
in interface ResultSet
getTimestamp
in class VTITemplate
SQLException
public Timestamp getTimestamp(int i, Calendar cal) throws SQLException
getTimestamp
in interface ResultSet
getTimestamp
in class VTITemplate
SQLException
Apache Derby 10.13 API Documentation - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.