public final class ErrorMessages extends VTITemplate implements VTICosting, java.security.PrivilegedAction
To use it, query it as follows:
SELECT* FROM NEW org.apache.derby.diag.ErrorMessages() AS EQ;
The following columns will be returned:
| Modifier and Type | Field and Description |
|---|---|
private static ResultColumnDescriptor[] |
columnInfo |
private java.lang.String |
k |
private java.util.Enumeration |
keys |
private java.lang.String |
message |
private static java.sql.ResultSetMetaData |
metadata |
private int |
msgFile |
private java.util.Properties |
p |
private int |
severity |
private java.lang.String |
SQLState |
defaultEstimatedCost, defaultEstimatedRowCount| Constructor and Description |
|---|
ErrorMessages() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
double |
getEstimatedCostPerInstantiation(VTIEnvironment vtiEnvironment)
Get the estimated cost for a single instantiation of a Table Function.
|
double |
getEstimatedRowCount(VTIEnvironment vtiEnvironment)
Get the estimated row count for a single scan of a Table Function.
|
int |
getInt(int columnIndex) |
java.sql.ResultSetMetaData |
getMetaData() |
java.lang.String |
getString(int columnIndex) |
private void |
loadProperties() |
boolean |
next() |
private boolean |
notAnException() |
java.lang.Object |
run() |
boolean |
supportsMultipleInstantiations(VTIEnvironment vtiEnvironment)
Find out if the ResultSet of the Table Function can be instantiated multiple times.
|
getBigDecimal, getBigDecimal, getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, getTime, getTimestampabsolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDouble, getFetchDirection, getFetchSize, getFloat, getLong, getObject, getObject, getObject, getRef, getRef, getRow, getShort, getStatement, getTime, getTime, getTime, getTimestamp, 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, wasNullclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHoldability, 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, updateSQLXMLprivate java.util.Properties p
private java.util.Enumeration keys
private java.lang.String k
private java.lang.String SQLState
private java.lang.String message
private int severity
private int msgFile
private static final ResultColumnDescriptor[] columnInfo
private static final java.sql.ResultSetMetaData metadata
public ErrorMessages()
throws java.io.IOException
java.io.IOExceptionpublic boolean next()
next in interface java.sql.ResultSetnext in class VTITemplateResultSet.next()public void close()
close in interface java.lang.AutoCloseableclose in interface java.sql.ResultSetclose in class VTITemplateResultSet.close()public java.sql.ResultSetMetaData getMetaData()
getMetaData in interface java.sql.ResultSetgetMetaData in class VTITemplateBaseResultSet.getMetaData()public java.lang.String getString(int columnIndex)
throws java.sql.SQLException
getString in interface java.sql.ResultSetgetString in class VTITemplateBasejava.sql.SQLException - column at index is not foundResultSet.getString(int)public int getInt(int columnIndex)
throws java.sql.SQLException
getInt in interface java.sql.ResultSetgetInt in class VTITemplateBasejava.sql.SQLException - column at index is not foundResultSet.getInt(int)private void loadProperties()
throws java.io.IOException
java.io.IOExceptionprivate boolean notAnException()
public double getEstimatedRowCount(VTIEnvironment vtiEnvironment)
VTICostinggetEstimatedRowCount in interface VTICostingvtiEnvironment - The state variable for optimizing the Table Function.public double getEstimatedCostPerInstantiation(VTIEnvironment vtiEnvironment)
VTICostinggetEstimatedCostPerInstantiation in interface VTICostingvtiEnvironment - The state variable for optimizing the Table Function.public boolean supportsMultipleInstantiations(VTIEnvironment vtiEnvironment)
VTICostingsupportsMultipleInstantiations in interface VTICostingvtiEnvironment - The state variable for optimizing the Table Function.public final java.lang.Object run()
run in interface java.security.PrivilegedActionApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.