|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvishnu.model.algebra.algorithms.projection.DefaultProjectionAlgorithm
public class DefaultProjectionAlgorithm
Esta clase implementa un algoritmo de proyeccion basico. Como el subset de SQL soportado no incluye el operador DISTINCT, no es necesario implementar la eliminacion de duplicados. Entonces no tiene sentido implementar otros algoritmos de proyeccion.
![]() |
![]() |
![]() |
![]() |
| Constructor Summary | |
|---|---|
DefaultProjectionAlgorithm()
|
|
| 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. |
protected void |
copyTable(Table destTable,
Table sourceTable,
Session session)
|
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
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 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultProjectionAlgorithm()
| Method Detail |
|---|
public void attach(Relation r)
Algorithm
attach in interface Algorithmr - - la relacion sobre la que se ejecutara el algoritmo.
protected void copyTable(Table destTable,
Table sourceTable,
Session session)
public void perform(Relation.Context c)
Algorithm
perform in interface Algorithmc - - el contexto de ejecucion.public void innerTable(TableContext c)
UnaryAlgorithm
innerTable in interface UnaryAlgorithmc - - la tabla interior del algoritmo.public void cancel()
Algorithm
cancel in interface Algorithmpublic boolean isCanceled()
Algorithm
isCanceled in interface Algorithmpublic boolean canBePerformed()
Algorithm
canBePerformed in interface Algorithmpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic Algorithm clone()
Algorithm
clone in interface Algorithmclone in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||