Class OperatorNode

    • Method Detail

      • pushSqlXmlUtil

        static void pushSqlXmlUtil​(ExpressionClassBuilder acb,
                                   MethodBuilder mb,
                                   java.lang.String xmlQuery,
                                   java.lang.String xmlOpName)

        Generate code that pushes an SqlXmlUtil instance onto the stack. The instance will be created and cached in the activation's constructor, so that we don't need to create a new instance for every row.

        If the xmlQuery parameter is non-null, there will also be code that compiles the query when the SqlXmlUtil instance is created.

        Parameters:
        acb - builder for the class in which the generated code lives
        mb - builder for the method that implements this operator
        xmlQuery - the XML query to be executed by the operator, or null if this isn't an XMLEXISTS or XMLQUERY operator
        xmlOpName - the name of the operator (ignored if xmlQuery is null)