Methods
|
|
|
|
__add__
|
__add__ ( self, other )
combine self with other, return closure.
|
|
__and__
|
__and__ ( self, other )
return closed constraints common to self and other.
|
|
__cmp__
|
__cmp__ ( self, other )
|
|
__hash__
|
__hash__ ( self )
|
|
__init__
|
__init__ ( self, **bindings )
bindings are name>simpletuple associations.
|
|
__repr__
|
__repr__ ( self )
|
|
close
|
close ( self )
infer equalities, if consistent.
only recompute equality closure if not previously closed.
return None on inconsistency.
|
|
demarshal
|
demarshal ( self, args )
|
|
domain
|
domain ( self )
|
|
equate
|
equate ( self, equalities )
add equalities to self, only if not closed.
equalities should be seq of ( (name, att), (name, att) )
eventually add converters...
|
|
initargs
|
initargs ( self )
|
|
marshaldata
|
marshaldata ( self )
|
|
relbind
|
relbind (
self,
dict,
db,
)
return bindings of self wrt dict rel>att
already bound!
|
|
relorder
|
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
|
share_eqs ( self )
make clone of self that shares equalities, closure.
note: will share future side effects to eqs too.
|
|