Package gavo :: Package grammars :: Module directgrammar :: Class CBooster
[frames] | no frames]

Class CBooster

source code

object --+
         |
        CBooster

is a wrapper for an import booster written in C using the DC booster infrastructure.

Warning: If you change the booster description, you'll need to touch the source to recompile.

Instance Methods
 
__init__(self, srcName, dataDesc, recordSize=4000, gzippedInput=False, autoNull=None, preFilter=None, ignoreBadRecords=False, customFlags='')
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getOutput(self, argName)
returns a pipe you can read the booster's output from.
source code
 
getStatus(self) source code

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

Class Variables
  silence_for_test = False
Properties

Inherited from object: __class__

Method Details

__init__(self, srcName, dataDesc, recordSize=4000, gzippedInput=False, autoNull=None, preFilter=None, ignoreBadRecords=False, customFlags='')
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

getOutput(self, argName)

source code 

returns a pipe you can read the booster's output from.

As a side effect, it also sets the attribute self.pipe. We need this to be able to retrieve the command status below.