Documentation of 'org.apache.derby.impl.sql.compile.ResultSetNode' Java class
ResultSetNode
org.apache.derby.impl.sql.compile

Class ResultSetNode

  • All Implemented Interfaces:
    Visitable
    Direct Known Subclasses:
    CurrentOfNode, IntersectOrExceptNode, RowCountNode


    public abstract class ResultSetNode
    extends QueryTreeNode
    A ResultSetNode represents a result set, that is, a set of rows. It is analogous to a ResultSet in the LanguageModuleExternalInterface. In fact, code generation for a a ResultSetNode will create a "new" call to a constructor for a ResultSet.
    • Method Detail

      • toString

        public java.lang.String toString()
        Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing.
        Overrides:
        toString in class QueryTreeNode
        Returns:
        This object as a String
      • getResultSetNumber

        public int getResultSetNumber()
        Get the resultSetNumber in this ResultSetNode. Expected to be set during generate(). Must be public in order to satisfy the Optimizable contract.
        Returns:
        int The resultSetNumber.
      • getReferencedTableMap

        public JBitSet getReferencedTableMap()
        Get the referencedTableMap for this ResultSetNode. Must be public in order to satisfy the Optimizable contract.
        Returns:
        JBitSet Referenced table map for this ResultSetNode
      • parseDefault

        public ValueNode parseDefault(java.lang.String defaultText)
                               throws StandardException
        Parse a default and turn it into a query tree.
        Parameters:
        defaultText - Text of Default.
        Returns:
        The parsed default as a query tree.
        Throws:
        StandardException - Thrown on failure
      • makeResultDescription

        public ResultDescription makeResultDescription()
        Make a ResultDescription for use in a ResultSet. This is useful when generating/executing a NormalizeResultSet, since it can appear anywhere in the tree.
        Returns:
        A ResultDescription for this ResultSetNode.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.