Class EmptyScope

  • All Implemented Interfaces:
    SqlValidatorScope
    Direct Known Subclasses:
    ParameterScope

    class EmptyScope
    extends java.lang.Object
    implements SqlValidatorScope
    Deviant implementation of SqlValidatorScope for the top of the scope stack.

    It is convenient, because we never need to check whether a scope's parent is null. (This scope knows not to ask about its parents, just like Adam.)