Package json_to_relation :: Module output_disposition :: Class OutputDisposition
[hide private]
[frames] | no frames]

Class OutputDisposition

source code

object --+
         |
        OutputDisposition
Known Subclasses:

Specifications for where completed relation rows should be deposited, and in which format. Source options are files, stdout, and a MySQL table.

Also defined here are available output formats, of which there are two: CSV, and SQL insert statements.

Nested Classes [hide private]
  OutputFormat
Instance Methods [hide private]
 
__init__(self, outputDest)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__enter__(self) source code
 
__exit__(self, excType, excValue, excTraceback) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, outputDest)
(Constructor)

source code 

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

Parameters:
  • outputDest (File) - os file descriptor for output
Overrides: object.__init__