vishnu.model.algebra.algorithms.selection
Class NoIndexSortedDataSelectionAlgorithm

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

public class NoIndexSortedDataSelectionAlgorithm
extends AbstractSelectionAlgorithm
implements UnaryAlgorithm

Author:
Mariano Tepper
 

Field Summary
 
Fields inherited from class vishnu.model.algebra.algorithms.selection.AbstractSelectionAlgorithm
canceled, conditions, inner, r
 
Constructor Summary
NoIndexSortedDataSelectionAlgorithm()
           
 
Method Summary
 void attach(Relation r)
          Vincula una relacion al algoritmo para su ejecucion.
 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
cancel, innerTable, isCanceled, perform
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface vishnu.model.algebra.algorithms.UnaryAlgorithm
innerTable
 
Methods inherited from interface vishnu.model.algebra.algorithms.Algorithm
cancel, isCanceled, perform
 

Constructor Detail

NoIndexSortedDataSelectionAlgorithm

public NoIndexSortedDataSelectionAlgorithm()
Method Detail

copyFilteredTable

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

attach

public void attach(Relation r)
Description copied from interface: Algorithm
Vincula una relacion al algoritmo para su ejecucion.

Specified by:
attach in interface Algorithm
Overrides:
attach in class AbstractSelectionAlgorithm
Parameters:
r - - la relacion sobre la que se ejecutara el 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