|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vishnu.model.algebra.AbstractBinaryRelation
public abstract class AbstractBinaryRelation
Define una base reusable de relacion binaria del algebra relacional.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface vishnu.model.algebra.Relation |
---|
Relation.Context, Relation.ContextNotSelectedException |
Field Summary | |
---|---|
protected Relation |
r
|
protected Relation |
s
|
Constructor Summary | |
---|---|
AbstractBinaryRelation(Relation r,
Relation s)
crea una relacion binaria con los operandos r y s. |
Method Summary | |
---|---|
Algorithm |
algorithm()
devuelve el algoritmo asignado a la relacion. |
void |
algorithm(Algorithm a)
asigna el algoritmo a usar |
static void |
debugging(boolean b)
|
boolean |
hasChanged()
Indica si se realizaro alguna modifiaccion en la relacion. |
Relation |
leftRelation()
Devuelve la relacion de la izquierda del operador binario |
void |
leftRelation(Relation left)
Setea la relacion de parametro de la izquierda. |
void |
perform(Relation.Context c)
Ejecuta la relacion binaria. |
Relation |
rightRelation()
Devuelve la relacion de la derecha del operador binario |
void |
rightRelation(Relation right)
Setea la relacion de parametro de la derecha. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Relation r
protected Relation s
Constructor Detail |
---|
public AbstractBinaryRelation(Relation r, Relation s)
Method Detail |
---|
public Relation leftRelation()
leftRelation
in interface BinaryRelation
public void leftRelation(Relation left)
BinaryRelation
leftRelation
in interface BinaryRelation
left
- - la nueva relacion izquierda.public Relation rightRelation()
rightRelation
in interface BinaryRelation
public void rightRelation(Relation right)
BinaryRelation
rightRelation
in interface BinaryRelation
right
- - la nueva relacion derecha.public boolean hasChanged()
Relation
hasChanged
in interface Relation
public void setChanged()
Relation
setChanged
in interface Relation
public TableSignature signature() throws Relation.ContextNotSelectedException
Relation
signature
in interface Relation
Relation.ContextNotSelectedException
public void perform(Relation.Context c)
perform
in interface Relation
c
- - el contexto de ejecución de la relacion.public Algorithm algorithm()
algorithm
in interface Relation
public void algorithm(Algorithm a)
algorithm
in interface Relation
a
- - el algoritmo co el que se ejecutara la relacion.public static void debugging(boolean b)
public 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 |