Table of Contents

Class: BoundTuple Zope-2.2.1-src/lib/python/Products/ZGadflyDA/gadfly/sqlsem.py

Methods   
__add__
__and__
__cmp__
__hash__
__init__
__repr__
close
demarshal
domain
equate
initargs
marshaldata
relbind
relorder
share_eqs
  __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...

Exceptions   
ValueError
  initargs 
initargs ( self )

  marshaldata 
marshaldata ( self )

  relbind 
relbind (
        self,
        dict,
        db,
        )

return bindings of self wrt dict rel>att

already bound!

Exceptions   
NameError
  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.


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6