Package lemon :: Package external :: Package gadfly :: Module introspection :: Class RemoteView
[show private | hide private]
[frames | no frames]

Class RemoteView

Relation0 --+    
            |    
         View --+
                |
               RemoteView

Known Subclasses:
ColumnsView, DictKeyValueView, DualView

Virtual superclass.  See text for methods and members to define.

Method Summary
  __init__(self)
  __repr__(self)
  attributes(self)
  irepr(self)
  listing(self)
return list of values (1 column) or list of tuples of values (>1 column).
  relbind(self, db, atts)
bind self to db, ignore atts...
  rows(self, andseqs)
  uncache(self)
    Inherited from View
  add_index(*args, **kw)
  add_tuples(*args, **kw)
  choose_index(self, a)
no indices on views (might change this?)...
  drop_index(*args, **kw)
  drop_indices(*args, **kw)
ignore this op when applied to view...
  dump(*args, **kw)
  erase_tuples(*args, **kw)
  ignore_op_for_view(*args, **kw)
ignore this op when applied to view...
  load(*args, **kw)
  regenerate_indices(*args, **kw)
ignore this op when applied to view...
  reset_tuples(*args, **kw)
  set_empty(*args, **kw)
  shadow(*args, **kw)
  UNDEFINED_OP_FOR_VIEW(*args, **kw)
    Inherited from Relation0
  unshadow(self)
make self into a replacement for shadowed, return self.

Class Variable Summary
NoneType cached_rows = None                                                                  
list column_names = ['Column1']
int static = 0                                                                     
    Inherited from View
int is_shadow = 0                                                                     
int is_view = 1                                                                     
int touched = 0                                                                     

Method Details

listing(self)

return list of values (1 column)
or list of tuples of values (>1 column).
size of elts should match number of columns.

relbind(self, db, atts)

bind self to db, ignore atts
Overrides:
lemon.external.gadfly.store.View.relbind (inherited documentation)

Class Variable Details

cached_rows

Type:
NoneType
Value:
None                                                                  

column_names

Type:
list
Value:
['Column1']                                                            

static

Type:
int
Value:
0                                                                     

Generated by Epydoc 2.0 on Mon Nov 10 15:07:42 2003 http://epydoc.sf.net