Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package gadfly :: Module semantics :: Class BoundTuple |
|
Method Summary | |
---|---|
bindings are name>simpletuple associations. | |
combine self with other, return closure. | |
return closed constraints common to self and other. | |
__cmp__(self,
other)
| |
__hash__(self)
| |
__repr__(self)
| |
infer equalities, if consistent. | |
demarshal(self,
args)
| |
domain(self)
| |
add equalities to self, only if not closed. | |
initargs(self)
| |
marshaldata(self)
| |
return bindings of self wrt dict rel>att... | |
based on known constraints, pick an ordering for materializing relations. | |
make clone of self that shares equalities, closure. |
Class Variable Summary | |
---|---|
int |
clean = 1 |
int |
closed = 0 |
Method Details |
---|
__init__(self,
**bindings)
|
__add__(self,
other)
|
__and__(self,
other)
|
close(self)infer equalities, if consistent. only recompute equality closure if not previously closed. return None on inconsistency. |
equate(self, equalities)add equalities to self, only if not closed. equalities should be seq of ( (name, att), (name, att) ) |
relbind(self, dict, db)return bindings of self wrt dict rel>att |
relorder(self, db, allrels)based on known constraints, pick an ordering for materializing relations. db is database (ignored currently) allrels is names of all relations to include (list). |
share_eqs(self)make clone of self that shares equalities, closure. note: will share future side effects to eqs too. |
Class Variable Details |
---|
clean
|
closed
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:31 2003 | http://epydoc.sf.net |