|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vishnu.model.algebra.algorithms.join.AbstractJoinAlgorithm
public abstract class AbstractJoinAlgorithm
Field Summary | |
---|---|
protected boolean |
canceled
|
protected SQLConditionalExpression |
conditions
|
protected TableContext |
l
|
protected TableContext |
r
|
Constructor Summary | |
---|---|
AbstractJoinAlgorithm()
|
Method Summary | |
---|---|
void |
attach(Relation r)
Vincula una relacion al algoritmo para su ejecucion. |
abstract boolean |
canBePerformed()
Indica si el algoritmo puede ser ejecutado sobre la relacion definida. |
void |
cancel()
Cancela la ejecucion del algoritmo. |
abstract Algorithm |
clone()
Clona el algoritmo. |
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 abstract void |
performProduct(TableContext left,
TableContext right,
Table destTable,
Session s)
|
void |
rightTable(TableContext c)
Setea la tabla derecha del algoritmo. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SQLConditionalExpression conditions
protected TableContext l
protected TableContext r
protected boolean canceled
Constructor Detail |
---|
public AbstractJoinAlgorithm()
Method Detail |
---|
public abstract boolean canBePerformed()
Algorithm
canBePerformed
in interface Algorithm
public void perform(Relation.Context c)
Algorithm
perform
in interface Algorithm
c
- - el contexto de ejecucion.protected abstract void performProduct(TableContext left, TableContext right, Table destTable, Session s)
public void leftTable(TableContext c)
BinaryAlgorithm
leftTable
in interface BinaryAlgorithm
public void rightTable(TableContext c)
BinaryAlgorithm
rightTable
in interface BinaryAlgorithm
public void cancel()
Algorithm
cancel
in interface Algorithm
public boolean isCanceled()
Algorithm
isCanceled
in interface Algorithm
public void attach(Relation r)
Algorithm
attach
in interface Algorithm
r
- - la relacion sobre la que se ejecutara el algoritmo.public abstract 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 |