com.ziclix.python.sql.pipe
Class Pipe
- java.lang.Object
-
- com.ziclix.python.sql.pipe.Pipe
-
public class Pipe extends java.lang.ObjectManager for a Sink and Source. The Pipe creates a Queue through which the Source can feed data to the Sink. Both Sink and Source run in their own thread and can are completely independent of the other. When the Source pushes None onto the Queue, the piping is stopped and the Sink finishes processing all the remaining data. This class is especially useful for loading/copying data from one database or table to another.
-
-
Constructor Summary
Constructors Constructor and Description Pipe()Default empty constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description PyObjectpipe(Source source, Sink sink)Start the processing of the Source to the Sink.
-
DataMelt 3.0 © DataMelt by jWork.ORG