Class OperatorNode

All Implemented Interfaces:
Visitable
Direct Known Subclasses:
BinaryOperatorNode, TernaryOperatorNode, UnaryOperatorNode

abstract class OperatorNode extends ValueNode
Abstract base-class for the various operator nodes: UnaryOperatorNode, BinaryOperatorNode and TernarnyOperatorNode.
  • Constructor Details

  • Method Details

    • pushSqlXmlUtil

      static void pushSqlXmlUtil(ExpressionClassBuilder acb, MethodBuilder mb, String xmlQuery, 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)