|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvishnu.model.algebra.Renaming
public class Renaming
Representa el renombre de las columnas de una relacion del algebra relacional.
![]() |
![]() |
![]() |
![]() |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface vishnu.model.algebra.Relation |
|---|
Relation.Context, Relation.ContextNotSelectedException |
| Constructor Summary | |
|---|---|
Renaming(Relation r,
java.util.List<java.lang.String> from,
java.util.List<java.lang.String> to)
Construye una relacion de renombre sobre la relacion r con los renombre de las columnas en la lista from a los nombres en la lista to. |
|
| Method Summary | |
|---|---|
Algorithm |
algorithm()
Devuelve el algoritmo designado para ejecutar esta relacion. |
void |
algorithm(Algorithm a)
Setea el algoritmo para ejecutar esta relacion. |
java.lang.Object |
clone()
Clona la relacion. |
boolean |
equals(java.lang.Object o)
|
java.util.List<java.lang.String> |
getFrom()
|
java.util.List<java.lang.String> |
getTo()
|
boolean |
hasChanged()
Indica si se realizaro alguna modifiaccion en la relacion. |
int |
hashCode()
|
void |
perform(Relation.Context c)
Ejecuta la relacion sobre el contexto dado (el contexto permite asignar la tabla de resultado). |
Relation |
relation()
Devuelve la relacion de interior. |
void |
relation(Relation inner)
Setea la relacion interior. |
Relation |
renamedRelation()
|
void |
setChanged()
Pone en true el flag de cambios de la relacion. |
void |
setContext(UserContext context)
Setea el esquema de la relacion. |
void |
setFrom(java.util.List<java.lang.String> from)
|
void |
setTo(java.util.List<java.lang.String> to)
|
TableSignature |
signature()
Devuelve la signautra de la relacion. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Renaming(Relation r,
java.util.List<java.lang.String> from,
java.util.List<java.lang.String> to)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic Relation renamedRelation()
public void perform(Relation.Context c)
Relation
perform in interface Relationc - - el contexto de ejecución de la relacion.public boolean hasChanged()
Relation
hasChanged in interface Relationpublic void setChanged()
Relation
setChanged in interface Relation
public TableSignature signature()
throws Relation.ContextNotSelectedException
Relation
signature in interface RelationRelation.ContextNotSelectedException
public 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 java.util.List<java.lang.String> getFrom()
public void setFrom(java.util.List<java.lang.String> from)
public java.util.List<java.lang.String> getTo()
public void setTo(java.util.List<java.lang.String> to)
public Relation relation()
UnaryRelation
relation in interface UnaryRelationpublic void relation(Relation inner)
UnaryRelation
relation in interface UnaryRelationinner - - la nueva realcion interior.public java.lang.Object clone()
UnaryRelation
clone in interface UnaryRelationclone 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 | ||||||||