|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vishnu.model.algebra.algorithms.selection.AbstractSelectionAlgorithm
public abstract class AbstractSelectionAlgorithm
Field Summary | |
---|---|
protected boolean |
canceled
|
protected SQLConditionalExpression |
conditions
|
protected TableContext |
inner
|
protected Relation |
r
|
Constructor Summary | |
---|---|
AbstractSelectionAlgorithm()
|
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. |
protected abstract void |
copyFilteredTable(Table destTable,
Table sourceTable,
Session session)
|
void |
innerTable(TableContext c)
Setea la tabla interior del algoritmo. |
boolean |
isCanceled()
Indica si el algoritmo fue cancelado. |
void |
perform(Relation.Context c)
Ejecuta el algoritmo con el contexto dado |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TableContext inner
protected Relation r
protected SQLConditionalExpression conditions
protected boolean canceled
Constructor Detail |
---|
public AbstractSelectionAlgorithm()
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 copyFilteredTable(Table destTable, Table sourceTable, Session session)
public void cancel()
Algorithm
cancel
in interface Algorithm
public boolean isCanceled()
Algorithm
isCanceled
in interface Algorithm
public void innerTable(TableContext c)
UnaryAlgorithm
innerTable
in interface UnaryAlgorithm
c
- - la tabla interior del algoritmo.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 |