|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.db.panels.sql.tester.SQLQueryTester
public class SQLQueryTester
Utility that pops up a dialog for testing a sql query. The query checked against a chosen database connection, and optional components are registered for offering "Explain Plan" and "Results" tabs as well.
| Constructor Summary | |
|---|---|
SQLQueryTester(Database db) |
|
| Method Summary | |
|---|---|
static void |
registerComponent(java.lang.Class<? extends TesterComponent> clz)Registers a TestComponent to appear in its own tab in the SQLQueryTester's dialog. |
void |
setSQLText(java.lang.String txt)Changes the query that is being tested in the current dialog |
void |
showDialog(java.awt.Component owner, java.lang.String sqlText)Shows the tester dialog with the given owner component, to test the given query. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLQueryTester(Database db)
| Method Detail |
|---|
public void showDialog(java.awt.Component owner,
java.lang.String sqlText)
owner - the component (e.g. Button) that is firing the testersqlText - the query to testpublic void setSQLText(java.lang.String txt)
txt - the new query textpublic static void registerComponent(java.lang.Class<? extends TesterComponent> clz)
clz - the TesterComponent subclass to add to the tester dialog
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||