vishnu.model.algebra
Class ConjunctiveSelection

java.lang.Object
  extended by vishnu.model.algebra.AbstractUnaryRelation
      extended by vishnu.model.algebra.ConjunctiveSelection
All Implemented Interfaces:
java.lang.Cloneable, Relation, Selection, UnaryRelation

public class ConjunctiveSelection
extends AbstractUnaryRelation
implements Selection

Author:
Hernan Rancati
 

Nested Class Summary
 
Nested classes/interfaces inherited from interface vishnu.model.algebra.Relation
Relation.Context, Relation.ContextNotSelectedException
 
Field Summary
 
Fields inherited from class vishnu.model.algebra.AbstractUnaryRelation
algorithm
 
Constructor Summary
ConjunctiveSelection(Relation r, java.util.Collection<SQLOperand> conjunctions)
           
ConjunctiveSelection(Relation r, SQLConditionalExpression c)
           
 
Method Summary
 TableSignature calculateSignature()
           
 java.lang.Object clone()
          Clona la relacion.
 SQLConditionalExpression conditions()
           
 java.util.Collection<SQLOperand> conjunctions()
           
 void conjunctions(java.util.Collection<SQLOperand> conjunctions)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class vishnu.model.algebra.AbstractUnaryRelation
algorithm, algorithm, hasChanged, perform, relation, relation, setChanged, setContext, signature
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface vishnu.model.algebra.UnaryRelation
relation, relation
 
Methods inherited from interface vishnu.model.algebra.Relation
algorithm, algorithm, hasChanged, perform, setChanged, setContext, signature
 

Constructor Detail

ConjunctiveSelection

public ConjunctiveSelection(Relation r,
                            SQLConditionalExpression c)

ConjunctiveSelection

public ConjunctiveSelection(Relation r,
                            java.util.Collection<SQLOperand> conjunctions)
Method Detail

conjunctions

public java.util.Collection<SQLOperand> conjunctions()

conditions

public SQLConditionalExpression conditions()
Specified by:
conditions in interface Selection

conjunctions

public void conjunctions(java.util.Collection<SQLOperand> conjunctions)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

public java.lang.Object clone()
Description copied from interface: UnaryRelation
Clona la relacion.

Specified by:
clone in interface UnaryRelation
Specified by:
clone in class AbstractUnaryRelation

calculateSignature

public TableSignature calculateSignature()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object