org.eigenbase.sql.validate
Class CollectScope

java.lang.Object
  extended by org.eigenbase.sql.validate.DelegatingScope
      extended by org.eigenbase.sql.validate.ListScope
          extended by org.eigenbase.sql.validate.CollectScope
All Implemented Interfaces:
SqlValidatorScope

 class CollectScope
extends ListScope

The name-resolution context for expression inside a multiset call. The objects visible are multiset expressions, and those inherited from the parent scope.

Since:
Mar 25, 2003
Version:
$Id: //open/dev/farrago/src/org/eigenbase/sql/validate/CollectScope.java#7 $
Author:
wael
See Also:
CollectNamespace

Field Summary
private  SqlCall child
           
private  SqlValidatorScope usingScope
           
 
Fields inherited from class org.eigenbase.sql.validate.ListScope
children, childrenNames
 
Fields inherited from class org.eigenbase.sql.validate.DelegatingScope
parent, validator
 
Constructor Summary
CollectScope(SqlValidatorScope parent, SqlValidatorScope usingScope, SqlCall child)
           
 
Method Summary
 SqlNode getNode()
          Returns the root node of this scope.
 
Methods inherited from class org.eigenbase.sql.validate.ListScope
addChild, findAliases, findAllColumnNames, findQualifyingTableName, getChild, getChildren, resolve, resolveColumn
 
Methods inherited from class org.eigenbase.sql.validate.DelegatingScope
addColumnNames, fullyQualify, getMonotonicity, getOperandScope, getOrderList, getParent, getValidator, lookupWindow, validateExpr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

usingScope

private final SqlValidatorScope usingScope

child

private final SqlCall child
Constructor Detail

CollectScope

CollectScope(SqlValidatorScope parent,
             SqlValidatorScope usingScope,
             SqlCall child)
Method Detail

getNode

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