|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvishnu.model.algebra.RelationAdapter
public class RelationAdapter
Esta clase adapta un tabla como una relacion. Permitiendo definir las relaciones hoja del arbol de ejecucion ya que no son operaciones del algebra sino relaciones sobre tablas. pattern: Adapter
![]() |
![]() |
![]() |
![]() |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface vishnu.model.algebra.Relation |
|---|
Relation.Context, Relation.ContextNotSelectedException |
| Constructor Summary | |
|---|---|
RelationAdapter(java.lang.String tableName)
construye un adaptador para la tabla elegida. |
|
| Method Summary | |
|---|---|
Algorithm |
algorithm()
Devuelve el algoritmo designado para ejecutar esta relacion. |
void |
algorithm(Algorithm a)
Setea el algoritmo para ejecutar esta relacion. |
void |
database(Database d)
|
boolean |
equals(java.lang.Object o)
|
boolean |
hasChanged()
Indica si se realizaro alguna modifiaccion en la relacion. |
int |
hashCode()
|
void |
perform(Relation.Context c)
Ejecuta la relacion. |
void |
setChanged()
Pone en true el flag de cambios de la relacion. |
void |
setContext(UserContext context)
Setea el esquema de la relacion. |
TableSignature |
signature()
Devuelve la signautra de la relacion. |
java.lang.String |
tableName()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RelationAdapter(java.lang.String tableName)
| Method Detail |
|---|
public void perform(Relation.Context c)
perform in interface Relationc - - el contexto de ejecución de la relacion.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String tableName()
public void database(Database d)
public TableSignature signature()
throws Relation.ContextNotSelectedException
Relation
signature in interface RelationRelation.ContextNotSelectedException
public boolean hasChanged()
Relation
hasChanged in interface Relationpublic void setChanged()
Relation
setChanged in interface Relationpublic Algorithm algorithm()
Relation
algorithm in interface Relationpublic void algorithm(Algorithm a)
Relation
algorithm in interface Relationa - - el algoritmo co el que se ejecutara la relacion.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void setContext(UserContext context)
Relation
setContext in interface Relation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||