All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Expressions.Selection

java.lang.Object
   |
   +----Expressions.Selection

public class Selection
extends Object
implements Expression
class Selection is used to represent expression like emp.salary


Constructor Index

 o Selection(String, String)
 o Selection(String, String, TypeDesc)

Method Index

 o collect(Vector, Vector)
 o createExec(Vector[])
 o equals(Object)
 o exclusive(Vector)
 o getType()
 o printTypes()
 o toString()
 o typeCheck(SymbolTable)

Constructors

 o Selection
 public Selection(String alias,
                  String attribute)
 o Selection
 public Selection(String alias,
                  String attribute,
                  TypeDesc type)

Methods

 o equals
 public boolean equals(Object obj)
Overrides:
equals in class Object
 o toString
 public String toString()
Overrides:
toString in class Object
 o printTypes
 public String printTypes()
 o getType
 public TypeDesc getType()
 o typeCheck
 public Expression typeCheck(SymbolTable st) throws RuntimeException
 o createExec
 public ExecExpr createExec(Vector projLists[]) throws InternalError
 o exclusive
 public boolean exclusive(Vector aliases)
 o collect
 public void collect(Vector aliases,
                     Vector expressions)

All Packages  Class Hierarchy  This Package  Previous  Next  Index