| com.ziclix.python.sql.pipe.Source
All known Subclasses: com.ziclix.python.sql.pipe.db.DBSource,
Source | public interface Source (Code) | | A Source produces data to be consumed by a Sink. The data can be generated
from anywhere, but must follow the format detail in next().
author: brian zimmer version: $Revision: 2414 $ See Also: Source.next See Also: Sink |
Method Summary | |
public void | end() Invoked at the end of processing. | public PyObject | next() Return the next row from the source. | public void | start() Invoked at the start of processing. |
end | public void end()(Code) | | Invoked at the end of processing. This method is guarenteed to be called.
|
next | public PyObject next()(Code) | | Return the next row from the source.
The following format:
[(colName, colType), (colName, colType), ...]
for headers and:
[(col), (colName, colType), ...]
for all other data must be used.
|
start | public void start()(Code) | | Invoked at the start of processing.
|
|
|