Class 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      XPLAINFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

      • currentVisitor

        private XPLAINVisitor currentVisitor
        the last instance of a visitor is cached
      • currentSchema

        private java.lang.String currentSchema
        the current cached schema
    • Constructor Detail

      • XPLAINFactory

        public XPLAINFactory()