Package glue :: Package ligolw :: Module lsctables :: Class SegmentSumTable
[hide private]
[frames] | no frames]

Class SegmentSumTable

source code

     object --+                
              |                
 ligolw.Element --+            
                  |            
ligolw.EmptyElement --+        
                      |        
           ligolw.Table --+    
                          |    
             object --+   |    
                      |   |    
                   list --+    
                          |    
                table.Table --+
                              |
                             SegmentSumTable

Nested Classes [hide private]
  RowType
Helpful parent class for row objects.

Inherited from table.Table: TableName

Instance Methods [hide private]
 
get(self, segment_def_id=None)
Return a segmentlist object describing the times spanned by the segments carrying the given segment_def_id.
source code

Inherited from table.Table: __init__, appendColumn, appendRow, applyKeyMapping, copy, endElement, getColumnByName, removeChild, sync_next_id, unlink, updateKeyMapping

Inherited from ligolw.EmptyElement: appendData

Inherited from ligolw.Element: appendChild, end_tag, getAttribute, getChildrenByAttributes, getElements, getElementsByTagName, hasAttribute, insertBefore, removeAttribute, replaceChild, setAttribute, start_tag, write

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, __sizeof__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from table.Table: CheckElement, CheckProperties, getTablesByName, get_next_id, get_table, reset_next_id, set_next_id

Inherited from ligolw.Element: validattributes

Class Variables [hide private]
  constraints = 'PRIMARY KEY (segment_sum_id)'
hash(x)
  interncolumns = ('process_id', 'segment_def_id')
hash(x)
  next_id = <glue.ligolw.ilwd.segment_summary_segment_sum_id_cla...
hash(x)
  tableName = 'segment_summary'
  validcolumns = {'comment': 'lstring', 'creator_db': 'int_4s', ...
hash(x)

Inherited from table.Table: how_to_index, loadcolumns

Inherited from ligolw.Table: tagName, validchildren

Inherited from list: __hash__

Properties [hide private]

Inherited from table.Table: Name

Inherited from ligolw.Table: Type

Inherited from object: __class__

Method Details [hide private]

get(self, segment_def_id=None)

source code 

Return a segmentlist object describing the times spanned by the segments carrying the given segment_def_id. If segment_def_id is None then all segments are returned.

Note: the result is not coalesced, the segmentlist contains the segments as they appear in the table.


Class Variable Details [hide private]

next_id

hash(x)

Value:
<glue.ligolw.ilwd.segment_summary_segment_sum_id_class object at 0x7f3\
9041717f8>

validcolumns

hash(x)

Value:
{'comment': 'lstring',
 'creator_db': 'int_4s',
 'end_time': 'int_4s',
 'end_time_ns': 'int_4s',
 'process_id': 'ilwd:char',
 'segment_def_cdb': 'int_4s',
 'segment_def_id': 'ilwd:char',
 'segment_sum_id': 'ilwd:char',
...