public final class StatementCache extends VTITemplate
select * from new org.apache.derby.diag.StatementCache() t
The StatementCache virtual table has the following columns:
The internal identifier of a cached statement matches the toString() method of a PreparedStatement object for a Derby database.
This class also provides a static method to empty the statement cache, StatementCache.emptyCache()
Modifier and Type | Field and Description |
---|---|
private static ResultColumnDescriptor[] |
columnInfo |
private GenericPreparedStatement |
currentPs |
private java.util.Vector |
data |
private static java.sql.ResultSetMetaData |
metadata |
private int |
position |
private boolean |
wasNull |
Constructor and Description |
---|
StatementCache() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
getBoolean(int colId) |
java.sql.ResultSetMetaData |
getMetaData() |
java.lang.String |
getString(int colId) |
java.sql.Timestamp |
getTimestamp(int colId) |
boolean |
next() |
boolean |
wasNull() |
getBigDecimal, getBigDecimal, getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, getTime, getTimestamp
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getByte, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDouble, getFetchDirection, getFetchSize, getFloat, getInt, getLong, getObject, getObject, getObject, getRef, getRef, getRow, getShort, getStatement, getTime, getTime, getTime, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, notImplemented, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHoldability, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getRowId, getRowId, getSQLXML, getSQLXML, isClosed, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateRowId, updateRowId, updateSQLXML, updateSQLXML
private int position
private java.util.Vector data
private GenericPreparedStatement currentPs
private boolean wasNull
private static final ResultColumnDescriptor[] columnInfo
private static final java.sql.ResultSetMetaData metadata
public StatementCache() throws StandardException
StandardException
public boolean next()
next
in interface java.sql.ResultSet
next
in class VTITemplate
public void close()
close
in interface java.lang.AutoCloseable
close
in interface java.sql.ResultSet
close
in class VTITemplate
public java.lang.String getString(int colId)
getString
in interface java.sql.ResultSet
getString
in class VTITemplateBase
public boolean getBoolean(int colId)
getBoolean
in interface java.sql.ResultSet
getBoolean
in class VTITemplateBase
public java.sql.Timestamp getTimestamp(int colId)
getTimestamp
in interface java.sql.ResultSet
getTimestamp
in class VTITemplateBase
public boolean wasNull()
wasNull
in interface java.sql.ResultSet
wasNull
in class VTITemplateBase
public java.sql.ResultSetMetaData getMetaData()
getMetaData
in interface java.sql.ResultSet
getMetaData
in class VTITemplateBase
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.