DbStruct Pile   version 0.0.1
This pile contains classes that can be used to
pile_schema_api.viewSubset Class Reference
+ Inheritance diagram for pile_schema_api.viewSubset:

Public Member Functions

def __init__
 
def factory (args_, kwargs_)
 
def get_constraint (self)
 
def set_constraint (self, constraint)
 
def get_name1 (self)
 
def set_name1 (self, name1)
 
def get_value (self)
 
def set_value (self, value)
 
def get_col1 (self)
 
def set_col1 (self, col1)
 
def get_in (self)
 
def set_in (self, in_)
 
def get_incol (self)
 
def set_incol (self, incol)
 
def get_where (self)
 
def set_where (self, where)
 
def hasContent_ (self)
 
def export
 
def exportAttributes
 
def exportChildren
 
def build (self, node)
 
def buildAttributes (self, node, attrs, already_processed)
 
def buildChildren
 
- Public Member Functions inherited from pile_schema_api.GeneratedsSuper
def gds_format_string
 
def gds_validate_string
 
def gds_format_base64
 
def gds_validate_base64
 
def gds_format_integer
 
def gds_validate_integer
 
def gds_format_integer_list
 
def gds_validate_integer_list
 
def gds_format_float
 
def gds_validate_float
 
def gds_format_float_list
 
def gds_validate_float_list
 
def gds_format_double
 
def gds_validate_double
 
def gds_format_double_list
 
def gds_validate_double_list
 
def gds_format_boolean
 
def gds_validate_boolean
 
def gds_format_boolean_list
 
def gds_validate_boolean_list
 
def gds_validate_datetime
 
def gds_format_datetime
 
def gds_parse_datetime (cls, input_data)
 
def gds_validate_date
 
def gds_format_date
 
def gds_parse_date (cls, input_data)
 
def gds_validate_time
 
def gds_format_time
 
def gds_validate_simple_patterns (self, patterns, target)
 
def gds_parse_time (cls, input_data)
 
def gds_str_lower (self, instring)
 
def get_path_ (self, node)
 
def get_path_list_ (self, node, path_list)
 
def get_class_obj_
 
def gds_build_any
 
def gds_reverse_node_mapping (cls, mapping)
 

Public Attributes

 original_tagname_
 
 constraint
 
 name1
 
 value
 
 col1
 
 in_
 
 incol
 
 where
 

Static Public Attributes

dictionary member_data_items_
 
 subclass = None
 
 superclass = None
 
tuple factory = staticmethod(factory)
 
- Static Public Attributes inherited from pile_schema_api.GeneratedsSuper
tuple tzoff_pattern = re_.compile(r'(\+|-)((0\d|1[0-3]):[0-5]\d|14:00)$')
 
tuple Tag_strip_pattern_ = re_.compile(r'\{.*\}')
 

Detailed Description

One type of view is the subset view that simply extracts information
from another table. It may act as a simple `SELECT * FROM name1
WHERE col1=value` by using the `name1`, `col1`, `constraint` and
`value` attributes. It may also act as `SELECT * FROM name1
WHERE col1 IN (SELECT in FROM incol WHERE where=value)` by using
additional attributes: `in`, `incol`, `where` attributes. Top
level table from where we're selecting.Column in top level table
from where we're selecting.Second level table used as source (of
ids) for primary table.Column in second level table used as
source for primary table.Column in second level table used to
filter secondary table.Operator to apply to `value` and either
`col1` or `where` depending on the variant that's being used.The
value to compare using `constraint` against `col1` or `where`
depending on the variant that's being used.

Member Data Documentation

dictionary pile_schema_api.viewSubset.member_data_items_
static
Initial value:
1 = {
2  'constraint': MemberSpec_('constraint', 'xs:string', 0),
3  'name1': MemberSpec_('name1', 'xs:string', 0),
4  'value': MemberSpec_('value', 'xs:string', 0),
5  'col1': MemberSpec_('col1', 'xs:string', 0),
6  'in': MemberSpec_('in', 'xs:string', 0),
7  'incol': MemberSpec_('incol', 'xs:string', 0),
8  'where': MemberSpec_('where', 'xs:string', 0),
9  }

The documentation for this class was generated from the following file: