vishnu.model.algebra.algorithms.selection
Class ScanSelectionAlgorithm

java.lang.Object
  extended by vishnu.model.algebra.algorithms.selection.AbstractSelectionAlgorithm
      extended by vishnu.model.algebra.algorithms.selection.ScanSelectionAlgorithm
All Implemented Interfaces:
Algorithm, UnaryAlgorithm

public class ScanSelectionAlgorithm
extends AbstractSelectionAlgorithm

Author:
Hernan Rancati
 

Field Summary
 
Fields inherited from class vishnu.model.algebra.algorithms.selection.AbstractSelectionAlgorithm
canceled, conditions, inner, r
 
Constructor Summary
ScanSelectionAlgorithm()
           
 
Method Summary
 boolean canBePerformed()
          Indica si el algoritmo puede ser ejecutado sobre la relacion definida.
 Algorithm clone()
          Clona el algoritmo.
protected  void copyFilteredTable(Table destTable, Table sourceTable, Session session)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class vishnu.model.algebra.algorithms.selection.AbstractSelectionAlgorithm
attach, cancel, innerTable, isCanceled, perform
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScanSelectionAlgorithm

public ScanSelectionAlgorithm()
Method Detail

copyFilteredTable

protected void copyFilteredTable(Table destTable,
                                 Table sourceTable,
                                 Session session)
Specified by:
copyFilteredTable in class AbstractSelectionAlgorithm

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