|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.vti.VTITemplateBase
org.apache.derby.vti.VTITemplate
org.apache.derby.diag.ErrorMessages
public final class ErrorMessages
ErrorMessage shows all the SQLStates, locale-sensitive error messages, and exception severities for a database.
To use it, query it as follows:
SELECT* FROM NEW org.apache.derby.diag.ErrorMessages() AS EQ;
The following columns will be returned:
| Field Summary | |
|---|---|
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
|
| Fields inherited from interface org.apache.derby.vti.VTICosting |
|---|
defaultEstimatedCost, defaultEstimatedRowCount |
| 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 | |
|---|---|
ErrorMessages()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.derby.vti.VTITemplate |
|---|
getBigDecimal, getBigDecimal, getBoolean, getByte, getBytes, getDate, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, getTime, getTimestamp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.sql.ResultSet |
|---|
getHoldability, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, 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 |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Field Detail |
|---|
private 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
| Constructor Detail |
|---|
public ErrorMessages()
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public boolean next()
next in interface java.sql.ResultSetnext in class VTITemplateResultSet.next()public void close()
close 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)
VTICosting
getEstimatedRowCount in interface VTICostingvtiEnvironment - The state variable for optimizing the Table Function.
public double getEstimatedCostPerInstantiation(VTIEnvironment vtiEnvironment)
VTICosting
getEstimatedCostPerInstantiation in interface VTICostingvtiEnvironment - The state variable for optimizing the Table Function.
public boolean supportsMultipleInstantiations(VTIEnvironment vtiEnvironment)
VTICosting
supportsMultipleInstantiations in interface VTICostingvtiEnvironment - The state variable for optimizing the Table Function.
public final java.lang.Object run()
run in interface java.security.PrivilegedAction
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||