vishnu.model.algebra.algorithms.join
Class HashJoinAlgorithm
java.lang.Object
vishnu.model.algebra.algorithms.join.AbstractJoinAlgorithm
vishnu.model.algebra.algorithms.join.HashJoinAlgorithm
- All Implemented Interfaces:
- Algorithm, BinaryAlgorithm
public class HashJoinAlgorithm
- extends AbstractJoinAlgorithm
- implements BinaryAlgorithm
- Author:
- Mariano Tepper
-
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
HashJoinAlgorithm
public HashJoinAlgorithm()
performProduct
protected void performProduct(TableContext left,
TableContext right,
Table destTable,
Session s)
- Resuelve la junta
- Specified by:
performProduct
in class AbstractJoinAlgorithm
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
canBePerformed
public boolean canBePerformed()
- Description copied from interface:
Algorithm
- Indica si el algoritmo puede ser ejecutado sobre la relacion definida.
- Specified by:
canBePerformed
in interface Algorithm
- Specified by:
canBePerformed
in class AbstractJoinAlgorithm
- Returns:
- true si puede ser ejecutado, false si no.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public Algorithm clone()
- Description copied from interface:
Algorithm
- Clona el algoritmo.
- Specified by:
clone
in interface Algorithm
- Specified by:
clone
in class AbstractJoinAlgorithm