org.apache.derby.impl.sql.execute.xplain
Class XPLAINFactory
- java.lang.Object
-
- org.apache.derby.impl.sql.execute.xplain.XPLAINFactory
-
- All Implemented Interfaces:
- XPLAINFactoryIF
public class XPLAINFactory extends java.lang.Object implements XPLAINFactoryIF
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
-
Fields inherited from interface org.apache.derby.iapi.sql.execute.xplain.XPLAINFactoryIF
MODULE
-
-
Constructor Summary
Constructors Constructor and Description XPLAINFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidfreeResources()uncache the visitor and reset the factory stateXPLAINVisitorgetXPLAINVisitor()the factory method, which gets called to determine and return an appropriate XPLAINVisitor instance
-
-
-
Method Detail
-
getXPLAINVisitor
public XPLAINVisitor getXPLAINVisitor() throws StandardException
the factory method, which gets called to determine and return an appropriate XPLAINVisitor instance- Specified by:
getXPLAINVisitorin interfaceXPLAINFactoryIF- Returns:
- a XPLAINVisitor to traverse the ResultSetStatistics
- Throws:
StandardException- See Also:
XPLAINVisitor
-
freeResources
public void freeResources()
uncache the visitor and reset the factory state- Specified by:
freeResourcesin interfaceXPLAINFactoryIF
-
-
DataMelt 3.0 © DataMelt by jWork.ORG