Class ScopeChild


  • class ScopeChild
    extends java.lang.Object
    One of the inputs of a SqlValidatorScope.

    Most commonly, it is an item in a FROM clause, and consists of a namespace (the columns it provides), and optional name (table alias), and ordinal within the FROM clause.

    • Constructor Summary

      Constructors 
      Constructor Description
      ScopeChild​(int ordinal, java.lang.String name, SqlValidatorNamespace namespace, boolean nullable)
      Creates a ScopeChild.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ordinal

        final int ordinal
      • name

        final java.lang.String name
      • nullable

        final boolean nullable
    • Constructor Detail

      • ScopeChild

        ScopeChild​(int ordinal,
                   java.lang.String name,
                   SqlValidatorNamespace namespace,
                   boolean nullable)
        Creates a ScopeChild.
        Parameters:
        ordinal - Ordinal of child within parent scope
        name - Table alias (may be null)
        namespace - Namespace of child
        nullable - Whether fields of the child are nullable when seen from the parent, due to outer joins