| Modifier and Type | Field and Description |
|---|---|
| private Activation | |
| private boolean | |
| private DataDictionary | |
| private LanguageConnectionContext | |
| private boolean | |
| private int | |
| private List | |
| private List | |
| private List | |
| private List | |
| private XPLAINStatementDescriptor | |
| private XPLAINStatementTimingsDescriptor | |
| private UUID | |
| private Stack |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | addArraysToSystemCatalogs()
This method writes the created descriptor arrays to the cooresponding system catalogs. |
| private void | addStmtDescriptorsToSystemCatalog()
This method writes only the stmt and its timing descriptor to the dataDictionary |
| private void | |
| public void | doXPLAIN(RunTimeStatistics rss, Activation activation)
Implements org. the interface method, which gets called by the Top-ResultSet, which starts the tree traversal. |
| private Connection | |
| private void | pushUUIDnoChildren(UUID
the UUID to push uuid)helper method, which pushes the UUID, "number of Children" times onto the UUIDStack. |
| public void | reset()
Implements org. This method resets the visitor. |
| public void | setNumberOfChildren(int
the number of children of the current explained node. noChildren)Implements org. this method only stores the current number of children of the current explained node. |
| public void | visit(ResultSetStatistics
the statistics, which want to get explained. statistics)Implements org. Visit this node, calling back to it to get details. |
| activation | back to summary |
|---|---|
| private Activation activation | |
| considerTimingInformation | back to summary |
|---|---|
| private boolean considerTimingInformation | |
| dd | back to summary |
|---|---|
| private DataDictionary dd | |
| lcc | back to summary |
|---|---|
| private LanguageConnectionContext lcc | |
| no_call_stmts | back to summary |
|---|---|
| private boolean no_call_stmts | |
| noChildren | back to summary |
|---|---|
| private int noChildren | |
| rsets | back to summary |
|---|---|
| private List<XPLAINResultSetDescriptor> rsets | |
| rsetsTimings | back to summary |
|---|---|
| private List<Object> rsetsTimings | |
| scanrsets | back to summary |
|---|---|
| private List<XPLAINScanPropsDescriptor> scanrsets | |
| sortrsets | back to summary |
|---|---|
| private List<XPLAINSortPropsDescriptor> sortrsets | |
| stmt | back to summary |
|---|---|
| private XPLAINStatementDescriptor stmt | |
| stmtTimings | back to summary |
|---|---|
| private XPLAINStatementTimingsDescriptor stmtTimings | |
| stmtUUID | back to summary |
|---|---|
| private UUID stmtUUID | |
| UUIDStack | back to summary |
|---|---|
| private Stack<UUID> UUIDStack | |
| XPLAINSystemTableVisitor | back to summary |
|---|---|
| public XPLAINSystemTableVisitor() | |
| addArraysToSystemCatalogs | back to summary |
|---|---|
| private void addArraysToSystemCatalogs() throws StandardException, SQLException This method writes the created descriptor arrays to the cooresponding system catalogs. | |
| addStmtDescriptorsToSystemCatalog | back to summary |
|---|---|
| private void addStmtDescriptorsToSystemCatalog() throws StandardException, SQLException This method writes only the stmt and its timing descriptor to the dataDictionary | |
| clean | back to summary |
|---|---|
| private void clean() This method cleans up things after explanation. It frees kept resources and still holded references. | |
| doXPLAIN | back to summary |
|---|---|
| public void doXPLAIN(RunTimeStatistics rss, Activation activation) throws StandardException Implements org. the interface method, which gets called by the Top-ResultSet, which starts the tree traversal. | |
| getDefaultConn | back to summary |
|---|---|
| private Connection getDefaultConn() throws SQLException Open a nested Connection with which to execute INSERT statements. | |
| pushUUIDnoChildren | back to summary |
|---|---|
| private void pushUUIDnoChildren(UUID uuid) helper method, which pushes the UUID, "number of Children" times onto the UUIDStack.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. This method resets the visitor. Gets called right before explanation to make sure all needed objects exist and are up to date and the lists are cleared | |
| setNumberOfChildren | back to summary |
|---|---|
| public void setNumberOfChildren(int noChildren) Implements org. this method only stores the current number of children of the current explained node. The child nodes then can re-use this information.
| |
| visit | back to summary |
|---|---|
| public void visit(ResultSetStatistics statistics) Implements org. Visit this node, calling back to it to get details. This method visits the RS Statisitcs node, calling back to the node to get detailed descriptor information about it.
| |