|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.execute.xplain.XPLAINFactory
public class XPLAINFactory
This is the module implementation of the XPLAINFactoryIF. It gets lazy-loaded when needed. The factory method determines which visitor to use. The visitor is cached in this factory for later reuse.
| Field Summary | |
|---|---|
private java.lang.String |
currentSchema
the current cached schema |
private XPLAINVisitor |
currentVisitor
the last instance of a visitor is cached |
| Fields inherited from interface org.apache.derby.iapi.sql.execute.xplain.XPLAINFactoryIF |
|---|
MODULE |
| Constructor Summary | |
|---|---|
XPLAINFactory()
|
|
| Method Summary | |
|---|---|
void |
freeResources()
uncache the visitor and reset the factory state |
XPLAINVisitor |
getXPLAINVisitor()
the factory method, which gets called to determine and return an appropriate XPLAINVisitor instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private XPLAINVisitor currentVisitor
private java.lang.String currentSchema
| Constructor Detail |
|---|
public XPLAINFactory()
| Method Detail |
|---|
public XPLAINVisitor getXPLAINVisitor()
throws StandardException
getXPLAINVisitor in interface XPLAINFactoryIFStandardExceptionXPLAINVisitorpublic void freeResources()
freeResources in interface XPLAINFactoryIF
|
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 | ||||||||