Top Description Methods
com.ziclix.python.sql.pipe

public Interface Source

Known Direct Implementers
com.ziclix.python.sql.pipe.db.DBSource
Imports
org.python.core.PyObject

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
See Also
next, Sink

Method Summary

Modifier and TypeMethod and Description
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.

Method Detail

endback to summary
public void end()

Invoked at the end of processing. This method is guarenteed to be called.

nextback to summary
public PyObject next()

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.

startback to summary
public void start()

Invoked at the start of processing.