Class MaterializeSubqueryNode

All Implemented Interfaces:
Visitable

class MaterializeSubqueryNode extends ResultSetNode
A MaterializeSubqueryNode is used to replace the nodes for a subquery, to facilitate code generation for materialization if possible. See beetle 4373 for details.
  • Field Details

  • Constructor Details

  • Method Details

    • generate

      void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException
      Description copied from class: QueryTreeNode
      Do the code generation for this node. This is a place-holder method - it should be over-ridden in the sub-classes.
      Overrides:
      generate in class QueryTreeNode
      Parameters:
      acb - The ActivationClassBuilder for the class being built
      mb - The method for the generated code to go into
      Throws:
      StandardException - Thrown on error
    • decrementLevel

      void decrementLevel(int decrement)
      Description copied from class: ResultSetNode
      Decrement (query block) level (0-based) for all of the tables in this ResultSet tree. This is useful when flattening a subquery.
      Specified by:
      decrementLevel in class ResultSetNode
      Parameters:
      decrement - The amount to decrement by.