vishnu.model.algebra.optimizer
Class SelectionForwardingTranslationStage

java.lang.Object
  extended by vishnu.model.algebra.optimizer.AbstractTranslationStage
      extended by vishnu.model.algebra.optimizer.ChildVisitorTranslationStage
          extended by vishnu.model.algebra.optimizer.SelectionForwardingTranslationStage
All Implemented Interfaces:
TranslationStage, VisitorTranslationStage

public class SelectionForwardingTranslationStage
extends ChildVisitorTranslationStage

Author:
Hernan Rancati
 

Constructor Summary
SelectionForwardingTranslationStage()
           
 
Method Summary
protected  java.util.Collection<SQLOperand> exclusiveConditions(ConjunctiveSelection selection, Relation r, Database d)
           
protected  boolean isExclusiveCondition(SQLOperand o, TableSignature s)
           
 java.util.Collection<SQLOperand> remainingConditions(java.util.Collection<SQLOperand> total, java.util.Collection<SQLOperand> left, java.util.Collection<SQLOperand> right)
           
 Relation visit(Relation r, UserContext uc)
           
 
Methods inherited from class vishnu.model.algebra.optimizer.ChildVisitorTranslationStage
perform
 
Methods inherited from class vishnu.model.algebra.optimizer.AbstractTranslationStage
attach
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionForwardingTranslationStage

public SelectionForwardingTranslationStage()
Method Detail

visit

public Relation visit(Relation r,
                      UserContext uc)
Specified by:
visit in interface VisitorTranslationStage
Specified by:
visit in class ChildVisitorTranslationStage

remainingConditions

public java.util.Collection<SQLOperand> remainingConditions(java.util.Collection<SQLOperand> total,
                                                            java.util.Collection<SQLOperand> left,
                                                            java.util.Collection<SQLOperand> right)

exclusiveConditions

protected java.util.Collection<SQLOperand> exclusiveConditions(ConjunctiveSelection selection,
                                                               Relation r,
                                                               Database d)

isExclusiveCondition

protected boolean isExclusiveCondition(SQLOperand o,
                                       TableSignature s)