vishnu.model.algebra
Class CartesianProduct
java.lang.Object
vishnu.model.algebra.AbstractBinaryRelation
vishnu.model.algebra.CartesianProduct
- All Implemented Interfaces:
- BinaryRelation, Relation
public class CartesianProduct
- extends AbstractBinaryRelation
Representa a la relacion producto cartesiano del algebra relacional.
- Author:
- Mariano Tepper
-
Methods inherited from class vishnu.model.algebra.AbstractBinaryRelation |
algorithm, algorithm, debugging, hasChanged, leftRelation, leftRelation, perform, rightRelation, rightRelation, setChanged, setContext, signature |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CartesianProduct
public CartesianProduct(Relation r,
Relation s)
- Creates a new instance of ProductoCartesiano
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getProductSignature
public static TableSignature getProductSignature(TableSignature leftSignature,
TableSignature rightSignature)
- Construye la signatura combinada en base a las signaturas de sus
parametros.
addSignature
protected static void addSignature(DefaultTableSignature dest,
TableSignature source)
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