|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vishnu.model.algebra.algorithms.join.DefaultCartesianProductAlgorithm
public class DefaultCartesianProductAlgorithm
Constructor Summary | |
---|---|
DefaultCartesianProductAlgorithm()
|
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. |
void |
cancel()
Cancela la ejecucion del algoritmo. |
Algorithm |
clone()
Clona el algoritmo. |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
boolean |
isCanceled()
Indica si el algoritmo fue cancelado. |
void |
leftTable(TableContext c)
Setea la tabla izquierda del algoritmo. |
void |
perform(Relation.Context c)
Ejecuta el algoritmo con el contexto dado |
protected void |
performProduct(Table leftTable,
Table rightTable,
Table destTable,
Session s)
Resuelve el producto cartesiano |
void |
rightTable(TableContext c)
Setea la tabla derecha del algoritmo. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultCartesianProductAlgorithm()
Method Detail |
---|
protected void performProduct(Table leftTable, Table rightTable, Table destTable, Session s)
public boolean canBePerformed()
Algorithm
canBePerformed
in interface Algorithm
public void leftTable(TableContext c)
BinaryAlgorithm
leftTable
in interface BinaryAlgorithm
public void rightTable(TableContext c)
BinaryAlgorithm
rightTable
in interface BinaryAlgorithm
public void attach(Relation r)
Algorithm
attach
in interface Algorithm
r
- - la relacion sobre la que se ejecutara el algoritmo.public void perform(Relation.Context c)
Algorithm
perform
in interface Algorithm
c
- - el contexto de ejecucion.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void cancel()
Algorithm
cancel
in interface Algorithm
public boolean isCanceled()
Algorithm
isCanceled
in interface Algorithm
public java.lang.String toString()
toString
in class java.lang.Object
public Algorithm clone()
Algorithm
clone
in interface Algorithm
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |