Package gavo :: Package votable :: Module tablewriter :: Class OverflowElement
[frames] | no frames]

Class OverflowElement

source code

        object --+    
                 |    
utils.stanxml.Stub --+
                     |
                    OverflowElement

A container for VOTable elements that are written when it is likely that a query has overflowed the limit.

This is for use with DelayedTable. Instances of this can be passed into overflowElement.

OverflowElements are constructed with the row limit and VOTable material to be inserted when exactly row limit (or more) rows have been written to the table.

All automatic namespace processing is turned off for the overflow element. This should not be a problem if you're embedding VOTable elements into VOTables.

Instance Methods
 
__init__(self, rowLimit, overflowStan)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__repr__(self)
repr(x)
source code
 
setRowsDelivered(self, numRows) source code
 
write(self, outputFile) source code

Inherited from utils.stanxml.Stub: __eq__, __hash__, __ne__, apply, getChildDict, isEmpty, iterAttNames, shouldBeSkipped

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

Class Variables

Inherited from utils.stanxml.Stub: name_, text_

Properties

Inherited from object: __class__

Method Details

__init__(self, rowLimit, overflowStan)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)