The Pipeline
object defines the envelop for running C++ transformers from Python.
More...
Public Member Functions | |
def | __init__ (self, List[Any] algoritms) |
Acquire the list of algorithms. More... | |
def | execute (self) |
Execute the list of algorithms. More... | |
The Pipeline
object defines the envelop for running C++ transformers from Python.
One or multiple algorithms can be enqueed at construction time and executed by calling the method execute()
.
C++-bounded transformer and PyTransformer
s can be mixed up in the pipeline, however note that passing the control from a C++ algorithm to another C++ algorithm has a much less overhead than passing the control to or from a Python algorithm.
Hence, if logically possible, one should avoid interleaving C++ and Python algorithms.
Definition at line 27 of file Pipeline.py.
def SQLamarr.Pipeline.Pipeline.__init__ | ( | self, | |
List[Any] | algoritms | ||
) |
Acquire the list of algorithms.
Definition at line 43 of file Pipeline.py.
def SQLamarr.Pipeline.Pipeline.execute | ( | self | ) |
Execute the list of algorithms.
Definition at line 64 of file Pipeline.py.