SegmentSumTable

class igwn_ligolw.lsctables.SegmentSumTable(attrs=None)

Bases: Table

Attributes Summary

Methods Summary

get([segment_def_id])

Return a segmentlist object describing the times spanned by the segments carrying the given segment_def_id.

Attributes Documentation

constraints = 'PRIMARY KEY (segment_sum_id)'
next_id = 0
tableName = 'segment_summary'
validcolumns = {'comment': 'lstring', 'creator_db': 'int_4s', 'end_time': 'int_4s', 'end_time_ns': 'int_4s', 'process:process_id': 'int_8s', 'segment_def_cdb': 'int_4s', 'segment_definer:segment_def_id': 'int_8s', 'segment_sum_id': 'int_8s', 'start_time': 'int_4s', 'start_time_ns': 'int_4s'}

Methods Documentation

get(segment_def_id=None)

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.