vishnu.model.algebra.algorithms.selection
Class HashIndexEqualitySelectionAlgorithm
java.lang.Object
vishnu.model.algebra.algorithms.selection.AbstractSelectionAlgorithm
vishnu.model.algebra.algorithms.selection.HashIndexEqualitySelectionAlgorithm
- All Implemented Interfaces:
- Algorithm, UnaryAlgorithm
public class HashIndexEqualitySelectionAlgorithm
- extends AbstractSelectionAlgorithm
- implements UnaryAlgorithm
Debe ser del tipo atr1=v1 AND atr2=v2 AND atr3=v3 ...
- Author:
- Mariano Tepper
-
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
HashIndexEqualitySelectionAlgorithm
public HashIndexEqualitySelectionAlgorithm()
perform
public void perform(Relation.Context c)
- Description copied from interface:
Algorithm
- Ejecuta el algoritmo con el contexto dado
- Specified by:
perform in interface Algorithm- Overrides:
perform in class AbstractSelectionAlgorithm
- Parameters:
c - - el contexto de ejecucion.
copyFilteredTable
protected void copyFilteredTable(Table destTable,
Table sourceTable,
Session session)
- Specified by:
copyFilteredTable in class AbstractSelectionAlgorithm
innerTable
public void innerTable(TableContext c)
- Description copied from interface:
UnaryAlgorithm
- Setea la tabla interior del algoritmo.
- Specified by:
innerTable in interface UnaryAlgorithm- Overrides:
innerTable in class AbstractSelectionAlgorithm
- Parameters:
c - - la tabla interior del algoritmo.
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 AbstractSelectionAlgorithm
- Returns:
- true si puede ser ejecutado, false si no.
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
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 AbstractSelectionAlgorithm