Class TableScope

  • All Implemented Interfaces:
    SqlValidatorScope

    class TableScope
    extends ListScope
    The name-resolution scope of a LATERAL TABLE clause.

    The objects visible are those in the parameters found on the left side of the LATERAL TABLE clause, and objects inherited from the parent scope.

    • Field Detail

    • Constructor Detail

      • TableScope

        TableScope​(SqlValidatorScope parent,
                   SqlNode node)
        Creates a scope corresponding to a LATERAL TABLE clause.
        Parameters:
        parent - Parent scope
    • Method Detail

      • getNode

        public SqlNode getNode()
        Description copied from interface: SqlValidatorScope
        Returns the root node of this scope. Never null.
      • isWithin

        public boolean isWithin​(SqlValidatorScope scope2)
        Description copied from interface: SqlValidatorScope
        Returns whether this scope is enclosed within scope2 in such a way that it can see the contents of scope2.